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/tmpq6mp_rlx 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_lvm_one_disk_multiple_volumes_scsi_generated.yml *************** 2 plays in /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes_scsi_generated.yml:3 Wednesday 06 July 2022 15:39:09 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes_scsi_generated.yml:7 Wednesday 06 July 2022 15:39:10 +0000 (0:00:01.392) 0:00:01.405 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:2 Wednesday 06 July 2022 15:39:10 +0000 (0:00:00.048) 0:00:01.454 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:11 Wednesday 06 July 2022 15:39:11 +0000 (0:00:00.982) 0:00:02.437 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 15:39:11 +0000 (0:00:00.033) 0:00:02.471 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:39:11 +0000 (0:00:00.030) 0:00:02.501 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 15:39:12 +0000 (0:00:00.532) 0:00:03.034 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 15:39:12 +0000 (0:00:00.063) 0:00:03.098 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 15:39:12 +0000 (0:00:00.031) 0:00:03.129 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 15:39:12 +0000 (0:00:00.032) 0:00:03.162 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:39:12 +0000 (0:00:00.052) 0:00:03.215 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:39:12 +0000 (0:00:00.017) 0:00:03.232 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 15:39:13 +0000 (0:00:01.335) 0:00:04.568 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 15:39:13 +0000 (0:00:00.032) 0:00:04.601 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 15:39:13 +0000 (0:00:00.055) 0:00:04.656 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 15:39:14 +0000 (0:00:00.732) 0:00:05.388 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 15:39:14 +0000 (0:00:00.083) 0:00:05.472 ******** TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 15:39:14 +0000 (0:00:00.033) 0:00:05.505 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 15:39:14 +0000 (0:00:00.046) 0:00:05.552 ******** TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 15:39:14 +0000 (0:00:00.032) 0:00:05.585 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 15:39:15 +0000 (0:00:00.852) 0:00:06.437 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.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" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "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" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:39:17 +0000 (0:00:01.867) 0:00:08.305 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 15:39:17 +0000 (0:00:00.056) 0:00:08.362 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 15:39:17 +0000 (0:00:00.022) 0:00:08.384 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.530) 0:00:08.915 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.036) 0:00:08.952 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.023) 0:00:08.975 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.035) 0:00:09.011 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.036) 0:00:09.047 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.036) 0:00:09.084 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.036) 0:00:09.120 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.023) 0:00:09.144 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.035) 0:00:09.179 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.023) 0:00:09.203 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.504) 0:00:09.707 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 15:39:18 +0000 (0:00:00.022) 0:00:09.730 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:14 Wednesday 06 July 2022 15:39:20 +0000 (0:00:01.236) 0:00:10.967 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:21 Wednesday 06 July 2022 15:39:20 +0000 (0:00:00.038) 0:00:11.005 ******** included: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml for /cache/centos-9.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:2 Wednesday 06 July 2022 15:39:20 +0000 (0:00:00.037) 0:00:11.042 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:9 Wednesday 06 July 2022 15:39:20 +0000 (0:00:00.533) 0:00:11.576 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:14 Wednesday 06 July 2022 15:39:20 +0000 (0:00:00.038) 0:00:11.615 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:19 Wednesday 06 July 2022 15:39:20 +0000 (0:00:00.038) 0:00:11.653 ******** ok: [/cache/centos-9.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create three LVM logical volumes under one volume group] ***************** task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:26 Wednesday 06 July 2022 15:39:20 +0000 (0:00:00.035) 0:00:11.688 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 15:39:20 +0000 (0:00:00.041) 0:00:11.730 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.035) 0:00:11.765 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.533) 0:00:12.299 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.072) 0:00:12.372 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.033) 0:00:12.405 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.033) 0:00:12.438 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.045) 0:00:12.484 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.020) 0:00:12.504 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.026) 0:00:12.530 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "test3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.039) 0:00:12.570 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.034) 0:00:12.605 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.028) 0:00:12.633 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.026) 0:00:12.660 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.028) 0:00:12.689 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:39:21 +0000 (0:00:00.027) 0:00:12.716 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 15:39:22 +0000 (0:00:00.056) 0:00:12.773 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 15:39:22 +0000 (0:00:00.021) 0:00:12.794 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/foo-test2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "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/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2", "/dev/mapper/foo-test3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" } ], "packages": [ "e2fsprogs", "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-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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/test3", "name": "test3", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 15:39:24 +0000 (0:00:02.478) 0:00:15.273 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 15:39:24 +0000 (0:00:00.037) 0:00:15.310 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 15:39:24 +0000 (0:00:00.048) 0:00:15.359 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/foo-test2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "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/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2", "/dev/mapper/foo-test3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" } ], "packages": [ "e2fsprogs", "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-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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/test3", "name": "test3", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 15:39:24 +0000 (0:00:00.040) 0:00:15.400 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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/test3", "name": "test3", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 15:39:24 +0000 (0:00:00.038) 0:00:15.439 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 15:39:24 +0000 (0:00:00.041) 0:00:15.480 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 15:39:24 +0000 (0:00:00.038) 0:00:15.518 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 15:39:25 +0000 (0:00:00.931) 0:00:16.450 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test3', 'path': '/opt/test3', '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/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 15:39:27 +0000 (0:00:01.322) 0:00:17.772 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 15:39:27 +0000 (0:00:00.695) 0:00:18.468 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 15:39:28 +0000 (0:00:00.388) 0:00:18.856 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 15:39:28 +0000 (0:00:00.023) 0:00:18.879 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:44 Wednesday 06 July 2022 15:39:29 +0000 (0:00:00.965) 0:00:19.845 ******** included: /tmp/tmpnhy4yzav/tests/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:1 Wednesday 06 July 2022 15:39:29 +0000 (0:00:00.042) 0:00:19.887 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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/test3", "name": "test3", "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/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 15:39:29 +0000 (0:00:00.079) 0:00:19.967 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 15:39:29 +0000 (0:00:00.036) 0:00:20.003 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "85e5a589-3dfa-4ccc-863f-763c7548c160" }, "/dev/mapper/foo-test2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test2", "size": "3G", "type": "lvm", "uuid": "07594161-adb9-4cda-a733-cfc139d4be6a" }, "/dev/mapper/foo-test3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test3", "size": "3G", "type": "lvm", "uuid": "db7adb8b-788f-421c-8d50-37f5f58bcac2" }, "/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": "SyU0Z3-CMqw-jIHH-lx5i-nUP6-D5ot-tTPqwR" }, "/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-06-15-38-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpnhy4yzav/tests/verify-role-results.yml:19 Wednesday 06 July 2022 15:39:29 +0000 (0:00:00.512) 0:00:20.516 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003655", "end": "2022-07-06 11:39:30.399511", "rc": 0, "start": "2022-07-06 11:39:30.395856" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /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 /dev/mapper/foo-test2 /opt/test2 xfs defaults 0 0 /dev/mapper/foo-test3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 15:39:30 +0000 (0:00:00.508) 0:00:21.024 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004445", "end": "2022-07-06 11:39:31.776166", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:39:30.771721" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:33 Wednesday 06 July 2022 15:39:31 +0000 (0:00:01.378) 0:00:22.403 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'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/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 15:39:31 +0000 (0:00:00.064) 0:00:22.468 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 15:39:31 +0000 (0:00:00.037) 0:00:22.506 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:39:31 +0000 (0:00:00.050) 0:00:22.556 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 15:39:31 +0000 (0:00:00.060) 0:00:22.616 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.548) 0:00:23.165 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.053) 0:00:23.218 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.053) 0:00:23.272 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.051) 0:00:23.324 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.041) 0:00:23.365 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.065) 0:00:23.431 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.036) 0:00:23.468 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.045) 0:00:23.513 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.046) 0:00:23.560 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.026) 0:00:23.586 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.026) 0:00:23.612 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.025) 0:00:23.638 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.025) 0:00:23.663 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.025) 0:00:23.689 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 15:39:32 +0000 (0:00:00.026) 0:00:23.715 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.056) 0:00:23.772 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.035) 0:00:23.807 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.044) 0:00:23.851 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.053) 0:00:23.905 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.029) 0:00:23.934 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.029) 0:00:23.963 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.026) 0:00:23.990 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.026) 0:00:24.016 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.030) 0:00:24.046 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.032) 0:00:24.078 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.029) 0:00:24.108 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.026) 0:00:24.134 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.028) 0:00:24.163 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.045) 0:00:24.208 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.061) 0:00:24.270 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.023) 0:00:24.293 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.024) 0:00:24.317 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.025) 0:00:24.343 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.026) 0:00:24.369 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.022) 0:00:24.391 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.023) 0:00:24.415 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.023) 0:00:24.439 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.026) 0:00:24.465 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.024) 0:00:24.490 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.022) 0:00:24.512 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.021) 0:00:24.534 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.025) 0:00:24.560 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.048) 0:00:24.608 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.053) 0:00:24.661 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.028) 0:00:24.690 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:39:33 +0000 (0:00:00.042) 0:00:24.733 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.050) 0:00:24.783 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.080) 0:00:24.864 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.037) 0:00:24.902 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.069) 0:00:24.971 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.038) 0:00:25.009 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.036) 0:00:25.046 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.035) 0:00:25.082 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.049) 0:00:25.132 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.062) 0:00:25.194 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.026) 0:00:25.220 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.025) 0:00:25.246 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.027) 0:00:25.273 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.026) 0:00:25.300 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.024) 0:00:25.324 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.024) 0:00:25.349 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.025) 0:00:25.374 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.040) 0:00:25.415 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.025) 0:00:25.440 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.023) 0:00:25.464 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.023) 0:00:25.487 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.026) 0:00:25.513 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.024) 0:00:25.538 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.023) 0:00:25.562 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.024) 0:00:25.586 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.038) 0:00:25.625 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.024) 0:00:25.649 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.023) 0:00:25.672 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.024) 0:00:25.697 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:39:34 +0000 (0:00:00.025) 0:00:25.723 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.023) 0:00:25.746 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.023) 0:00:25.770 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.024) 0:00:25.794 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.037) 0:00:25.832 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.037) 0:00:25.869 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.056) 0:00:25.926 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.050) 0:00:25.977 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.084) 0:00:26.061 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.110) 0:00:26.172 ******** ok: [/cache/centos-9.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": "85e5a589-3dfa-4ccc-863f-763c7548c160" } ], "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": "85e5a589-3dfa-4ccc-863f-763c7548c160" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.056) 0:00:26.229 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.052) 0:00:26.281 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.054) 0:00:26.335 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.052) 0:00:26.388 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.023) 0:00:26.412 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.023) 0:00:26.435 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.024) 0:00:26.460 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.034) 0:00:26.495 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.062) 0:00:26.558 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.054) 0:00:26.612 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.049) 0:00:26.661 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:39:35 +0000 (0:00:00.049) 0:00:26.711 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:39:36 +0000 (0:00:00.038) 0:00:26.750 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:39:36 +0000 (0:00:00.043) 0:00:26.794 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:39:36 +0000 (0:00:00.043) 0:00:26.837 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657121964.5814917, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657121964.5814917, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 734, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657121964.5814917, "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/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:39:36 +0000 (0:00:00.413) 0:00:27.250 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:39:36 +0000 (0:00:00.039) 0:00:27.290 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:39:36 +0000 (0:00:00.038) 0:00:27.328 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:39:36 +0000 (0:00:00.036) 0:00:27.365 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:39:36 +0000 (0:00:00.025) 0:00:27.391 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:39:36 +0000 (0:00:00.042) 0:00:27.433 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:39:36 +0000 (0:00:00.024) 0:00:27.458 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:39:37 +0000 (0:00:00.960) 0:00:28.418 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:39:37 +0000 (0:00:00.024) 0:00:28.443 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:39:37 +0000 (0:00:00.030) 0:00:28.473 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:39:37 +0000 (0:00:00.094) 0:00:28.567 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:39:37 +0000 (0:00:00.025) 0:00:28.592 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:39:37 +0000 (0:00:00.024) 0:00:28.617 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:39:37 +0000 (0:00:00.055) 0:00:28.672 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:39:37 +0000 (0:00:00.024) 0:00:28.696 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:39:37 +0000 (0:00:00.023) 0:00:28.719 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.052) 0:00:28.772 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.048) 0:00:28.820 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.035) 0:00:28.856 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.035) 0:00:28.891 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.042) 0:00:28.933 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.036) 0:00:28.970 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.039) 0:00:29.010 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.039) 0:00:29.049 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.043) 0:00:29.092 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.038) 0:00:29.131 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.038) 0:00:29.169 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.035) 0:00:29.204 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:39:38 +0000 (0:00:00.039) 0:00:29.244 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.538) 0:00:29.782 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.396) 0:00:30.179 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.052) 0:00:30.231 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.036) 0:00:30.267 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.036) 0:00:30.303 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.039) 0:00:30.344 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.038) 0:00:30.382 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.042) 0:00:30.425 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.038) 0:00:30.463 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.035) 0:00:30.499 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.034) 0:00:30.534 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:39:39 +0000 (0:00:00.056) 0:00:30.590 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.044223", "end": "2022-07-06 11:39:40.397992", "rc": 0, "start": "2022-07-06 11:39:40.353769" } 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/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.434) 0:00:31.025 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.051) 0:00:31.076 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.051) 0:00:31.127 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.036) 0:00:31.164 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.036) 0:00:31.200 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.036) 0:00:31.236 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.041) 0:00:31.278 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.034) 0:00:31.313 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.048) 0:00:31.361 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.079) 0:00:31.441 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.043) 0:00:31.484 ******** ok: [/cache/centos-9.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-test2", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "07594161-adb9-4cda-a733-cfc139d4be6a" } ], "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-test2", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "07594161-adb9-4cda-a733-cfc139d4be6a" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.054) 0:00:31.539 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.049) 0:00:31.589 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.048) 0:00:31.637 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.052) 0:00:31.690 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:39:40 +0000 (0:00:00.025) 0:00:31.715 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.034) 0:00:31.749 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.032) 0:00:31.782 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.038) 0:00:31.820 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.067) 0:00:31.888 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.055) 0:00:31.943 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.054) 0:00:31.997 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.038) 0:00:32.035 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.038) 0:00:32.074 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.039) 0:00:32.114 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.037) 0:00:32.152 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657121964.3314917, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657121964.3314917, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 701, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657121964.3314917, "nlink": 1, "path": "/dev/mapper/foo-test2", "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/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.390) 0:00:32.543 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.039) 0:00:32.582 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.036) 0:00:32.618 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:39:41 +0000 (0:00:00.094) 0:00:32.713 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:39:42 +0000 (0:00:00.025) 0:00:32.739 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:39:42 +0000 (0:00:00.089) 0:00:32.828 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:39:42 +0000 (0:00:00.027) 0:00:32.856 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.916) 0:00:33.773 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.023) 0:00:33.797 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.022) 0:00:33.820 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.048) 0:00:33.868 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.024) 0:00:33.892 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.025) 0:00:33.918 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.026) 0:00:33.944 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.025) 0:00:33.969 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.025) 0:00:33.994 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.052) 0:00:34.047 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.047) 0:00:34.094 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.038) 0:00:34.133 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.035) 0:00:34.169 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.042) 0:00:34.211 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.035) 0:00:34.247 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.040) 0:00:34.287 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.039) 0:00:34.326 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.043) 0:00:34.370 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.038) 0:00:34.409 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.038) 0:00:34.448 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.039) 0:00:34.488 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:39:43 +0000 (0:00:00.041) 0:00:34.529 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:39:44 +0000 (0:00:00.372) 0:00:34.901 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:39:44 +0000 (0:00:00.415) 0:00:35.317 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:39:44 +0000 (0:00:00.049) 0:00:35.366 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:39:44 +0000 (0:00:00.069) 0:00:35.435 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:39:44 +0000 (0:00:00.039) 0:00:35.475 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:39:44 +0000 (0:00:00.041) 0:00:35.517 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:39:44 +0000 (0:00:00.039) 0:00:35.557 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:39:44 +0000 (0:00:00.039) 0:00:35.596 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:39:44 +0000 (0:00:00.038) 0:00:35.634 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.124) 0:00:35.759 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.039) 0:00:35.798 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.056) 0:00:35.855 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test2" ], "delta": "0:00:00.039650", "end": "2022-07-06 11:39:45.655420", "rc": 0, "start": "2022-07-06 11:39:45.615770" } STDOUT: LVM2_LV_NAME=test2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.429) 0:00:36.284 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.054) 0:00:36.339 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.052) 0:00:36.391 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.039) 0:00:36.430 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.037) 0:00:36.467 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.037) 0:00:36.505 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.040) 0:00:36.545 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.039) 0:00:36.584 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.050) 0:00:36.635 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:39:45 +0000 (0:00:00.082) 0:00:36.717 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.044) 0:00:36.762 ******** ok: [/cache/centos-9.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-test3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "db7adb8b-788f-421c-8d50-37f5f58bcac2" } ], "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-test3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "db7adb8b-788f-421c-8d50-37f5f58bcac2" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.060) 0:00:36.822 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.052) 0:00:36.875 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.057) 0:00:36.933 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.063) 0:00:36.996 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.026) 0:00:37.023 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.026) 0:00:37.049 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.026) 0:00:37.075 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.038) 0:00:37.114 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.061) 0:00:37.175 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.052) 0:00:37.227 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.053) 0:00:37.280 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.038) 0:00:37.319 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.037) 0:00:37.357 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.041) 0:00:37.398 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:39:46 +0000 (0:00:00.040) 0:00:37.439 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657121964.085492, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657121964.085492, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 667, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657121964.085492, "nlink": 1, "path": "/dev/mapper/foo-test3", "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/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:39:47 +0000 (0:00:00.406) 0:00:37.845 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:39:47 +0000 (0:00:00.078) 0:00:37.923 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:39:47 +0000 (0:00:00.038) 0:00:37.962 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:39:47 +0000 (0:00:00.071) 0:00:38.033 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:39:47 +0000 (0:00:00.025) 0:00:38.059 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:39:47 +0000 (0:00:00.081) 0:00:38.140 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:39:47 +0000 (0:00:00.027) 0:00:38.168 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.880) 0:00:39.049 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.024) 0:00:39.073 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.022) 0:00:39.096 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.050) 0:00:39.146 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.024) 0:00:39.170 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.023) 0:00:39.194 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.026) 0:00:39.220 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.023) 0:00:39.243 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.024) 0:00:39.268 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.061) 0:00:39.330 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.065) 0:00:39.395 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.038) 0:00:39.434 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.040) 0:00:39.474 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.039) 0:00:39.514 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.038) 0:00:39.552 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.044) 0:00:39.597 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.040) 0:00:39.638 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.039) 0:00:39.678 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:39:48 +0000 (0:00:00.041) 0:00:39.720 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:39:49 +0000 (0:00:00.039) 0:00:39.760 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:39:49 +0000 (0:00:00.039) 0:00:39.799 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:39:49 +0000 (0:00:00.046) 0:00:39.846 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:39:49 +0000 (0:00:00.393) 0:00:40.239 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:39:49 +0000 (0:00:00.392) 0:00:40.631 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:39:49 +0000 (0:00:00.051) 0:00:40.683 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:39:49 +0000 (0:00:00.036) 0:00:40.719 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:39:50 +0000 (0:00:00.039) 0:00:40.758 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:39:50 +0000 (0:00:00.038) 0:00:40.796 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:39:50 +0000 (0:00:00.043) 0:00:40.839 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:39:50 +0000 (0:00:00.040) 0:00:40.880 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:39:50 +0000 (0:00:00.037) 0:00:40.918 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:39:50 +0000 (0:00:00.077) 0:00:40.995 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:39:50 +0000 (0:00:00.037) 0:00:41.032 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:39:50 +0000 (0:00:00.092) 0:00:41.125 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test3" ], "delta": "0:00:00.035625", "end": "2022-07-06 11:39:50.957462", "rc": 0, "start": "2022-07-06 11:39:50.921837" } STDOUT: LVM2_LV_NAME=test3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:39:50 +0000 (0:00:00.460) 0:00:41.586 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:39:50 +0000 (0:00:00.091) 0:00:41.677 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.136) 0:00:41.813 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.040) 0:00:41.854 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.038) 0:00:41.892 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.040) 0:00:41.933 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.044) 0:00:41.978 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.034) 0:00:42.012 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:47 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.038) 0:00:42.051 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.021) 0:00:42.073 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:46 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.037) 0:00:42.110 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.048) 0:00:42.158 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.038) 0:00:42.197 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 15:39:51 +0000 (0:00:00.537) 0:00:42.734 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.074) 0:00:42.809 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.040) 0:00:42.850 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.042) 0:00:42.893 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.051) 0:00:42.944 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.023) 0:00:42.967 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.035) 0:00:43.002 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "test3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.045) 0:00:43.048 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.037) 0:00:43.085 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.031) 0:00:43.117 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.036) 0:00:43.153 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.032) 0:00:43.185 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.033) 0:00:43.219 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.063) 0:00:43.283 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 15:39:52 +0000 (0:00:00.023) 0:00:43.307 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2", "/dev/mapper/foo-test3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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": "/opt/test3", "name": "test3", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 15:39:54 +0000 (0:00:01.724) 0:00:45.031 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 15:39:54 +0000 (0:00:00.040) 0:00:45.071 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 15:39:54 +0000 (0:00:00.021) 0:00:45.093 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2", "/dev/mapper/foo-test3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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": "/opt/test3", "name": "test3", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 15:39:54 +0000 (0:00:00.043) 0:00:45.136 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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": "/opt/test3", "name": "test3", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 15:39:54 +0000 (0:00:00.042) 0:00:45.178 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 15:39:54 +0000 (0:00:00.038) 0:00:45.217 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 15:39:54 +0000 (0:00:00.039) 0:00:45.257 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 15:39:55 +0000 (0:00:00.711) 0:00:45.969 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "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" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 15:39:56 +0000 (0:00:01.134) 0:00:47.103 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 15:39:57 +0000 (0:00:00.696) 0:00:47.799 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 15:39:57 +0000 (0:00:00.418) 0:00:48.217 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 15:39:57 +0000 (0:00:00.023) 0:00:48.241 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:64 Wednesday 06 July 2022 15:39:58 +0000 (0:00:01.000) 0:00:49.241 ******** included: /tmp/tmpnhy4yzav/tests/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:1 Wednesday 06 July 2022 15:39:58 +0000 (0:00:00.049) 0:00:49.291 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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": "/opt/test3", "name": "test3", "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/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 15:39:58 +0000 (0:00:00.085) 0:00:49.376 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 15:39:58 +0000 (0:00:00.037) 0:00:49.414 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "85e5a589-3dfa-4ccc-863f-763c7548c160" }, "/dev/mapper/foo-test2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test2", "size": "3G", "type": "lvm", "uuid": "07594161-adb9-4cda-a733-cfc139d4be6a" }, "/dev/mapper/foo-test3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test3", "size": "3G", "type": "lvm", "uuid": "db7adb8b-788f-421c-8d50-37f5f58bcac2" }, "/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": "SyU0Z3-CMqw-jIHH-lx5i-nUP6-D5ot-tTPqwR" }, "/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-06-15-38-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpnhy4yzav/tests/verify-role-results.yml:19 Wednesday 06 July 2022 15:39:59 +0000 (0:00:00.428) 0:00:49.843 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003086", "end": "2022-07-06 11:39:59.629127", "rc": 0, "start": "2022-07-06 11:39:59.626041" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /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 /dev/mapper/foo-test2 /opt/test2 xfs defaults 0 0 /dev/mapper/foo-test3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 15:39:59 +0000 (0:00:00.410) 0:00:50.253 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004535", "end": "2022-07-06 11:40:01.015934", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:40:00.011399" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:33 Wednesday 06 July 2022 15:40:00 +0000 (0:00:01.392) 0:00:51.646 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['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-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'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/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 15:40:00 +0000 (0:00:00.065) 0:00:51.711 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.035) 0:00:51.747 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.049) 0:00:51.796 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.066) 0:00:51.862 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.390) 0:00:52.253 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.050) 0:00:52.303 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.054) 0:00:52.358 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.059) 0:00:52.418 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.042) 0:00:52.460 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.054) 0:00:52.514 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.023) 0:00:52.538 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.089) 0:00:52.628 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.044) 0:00:52.672 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 15:40:01 +0000 (0:00:00.025) 0:00:52.698 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.063) 0:00:52.761 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.027) 0:00:52.788 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.030) 0:00:52.819 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.028) 0:00:52.848 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.029) 0:00:52.877 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.026) 0:00:52.904 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.037) 0:00:52.941 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.046) 0:00:52.988 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.056) 0:00:53.045 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.030) 0:00:53.075 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.029) 0:00:53.105 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.029) 0:00:53.134 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.035) 0:00:53.170 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.033) 0:00:53.203 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.029) 0:00:53.232 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.028) 0:00:53.261 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.029) 0:00:53.290 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.029) 0:00:53.320 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.047) 0:00:53.367 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.058) 0:00:53.425 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.024) 0:00:53.449 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.023) 0:00:53.473 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.024) 0:00:53.498 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.025) 0:00:53.523 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.024) 0:00:53.548 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.024) 0:00:53.573 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.025) 0:00:53.599 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.023) 0:00:53.622 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.023) 0:00:53.646 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.023) 0:00:53.669 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.024) 0:00:53.694 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:40:02 +0000 (0:00:00.023) 0:00:53.718 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.049) 0:00:53.767 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.051) 0:00:53.818 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.035) 0:00:53.853 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.048) 0:00:53.902 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.111) 0:00:54.013 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.050) 0:00:54.064 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.037) 0:00:54.102 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.042) 0:00:54.144 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.038) 0:00:54.183 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.035) 0:00:54.219 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.036) 0:00:54.256 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.050) 0:00:54.306 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.062) 0:00:54.368 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.026) 0:00:54.395 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.026) 0:00:54.421 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.025) 0:00:54.446 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.026) 0:00:54.472 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.024) 0:00:54.497 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.023) 0:00:54.520 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.026) 0:00:54.546 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.040) 0:00:54.587 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.027) 0:00:54.614 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.026) 0:00:54.641 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.024) 0:00:54.666 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.028) 0:00:54.694 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:40:03 +0000 (0:00:00.025) 0:00:54.720 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.027) 0:00:54.747 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.024) 0:00:54.772 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.039) 0:00:54.811 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.026) 0:00:54.837 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.026) 0:00:54.863 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.023) 0:00:54.887 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.026) 0:00:54.914 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.026) 0:00:54.940 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.027) 0:00:54.967 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.025) 0:00:54.993 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.037) 0:00:55.031 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.036) 0:00:55.067 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.055) 0:00:55.122 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.086) 0:00:55.209 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.121) 0:00:55.330 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.043) 0:00:55.374 ******** ok: [/cache/centos-9.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": "85e5a589-3dfa-4ccc-863f-763c7548c160" } ], "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": "85e5a589-3dfa-4ccc-863f-763c7548c160" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.059) 0:00:55.434 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.055) 0:00:55.489 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.053) 0:00:55.542 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.055) 0:00:55.598 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.027) 0:00:55.626 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.027) 0:00:55.653 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.024) 0:00:55.677 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:40:04 +0000 (0:00:00.038) 0:00:55.715 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.061) 0:00:55.777 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.050) 0:00:55.828 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.051) 0:00:55.879 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.039) 0:00:55.919 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.042) 0:00:55.961 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.042) 0:00:56.003 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.044) 0:00:56.048 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657121964.5814917, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657121964.5814917, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 734, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657121964.5814917, "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/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.384) 0:00:56.432 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.040) 0:00:56.473 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.041) 0:00:56.515 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.041) 0:00:56.556 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.028) 0:00:56.585 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.041) 0:00:56.626 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:40:05 +0000 (0:00:00.025) 0:00:56.651 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:40:06 +0000 (0:00:00.908) 0:00:57.560 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:40:06 +0000 (0:00:00.024) 0:00:57.585 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:40:06 +0000 (0:00:00.023) 0:00:57.608 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:40:06 +0000 (0:00:00.057) 0:00:57.665 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:40:06 +0000 (0:00:00.027) 0:00:57.693 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:40:06 +0000 (0:00:00.027) 0:00:57.721 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.027) 0:00:57.748 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.029) 0:00:57.778 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.074) 0:00:57.852 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.054) 0:00:57.907 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.057) 0:00:57.965 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.042) 0:00:58.008 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.038) 0:00:58.047 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.036) 0:00:58.084 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.038) 0:00:58.122 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.044) 0:00:58.167 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.043) 0:00:58.210 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.038) 0:00:58.249 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.036) 0:00:58.285 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.040) 0:00:58.325 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.036) 0:00:58.361 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:40:07 +0000 (0:00:00.035) 0:00:58.397 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.375) 0:00:58.772 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.405) 0:00:59.178 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.050) 0:00:59.229 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.035) 0:00:59.264 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.037) 0:00:59.302 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.035) 0:00:59.338 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.037) 0:00:59.375 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.038) 0:00:59.413 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.042) 0:00:59.455 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.038) 0:00:59.493 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.039) 0:00:59.533 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:40:08 +0000 (0:00:00.056) 0:00:59.590 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034365", "end": "2022-07-06 11:40:09.380990", "rc": 0, "start": "2022-07-06 11:40:09.346625" } 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/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.421) 0:01:00.011 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.086) 0:01:00.097 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.052) 0:01:00.150 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.040) 0:01:00.190 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.037) 0:01:00.227 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.039) 0:01:00.267 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.039) 0:01:00.306 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.078) 0:01:00.385 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.127) 0:01:00.513 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.084) 0:01:00.598 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.040) 0:01:00.639 ******** ok: [/cache/centos-9.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-test2", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "07594161-adb9-4cda-a733-cfc139d4be6a" } ], "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-test2", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "07594161-adb9-4cda-a733-cfc139d4be6a" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:40:09 +0000 (0:00:00.055) 0:01:00.694 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.053) 0:01:00.747 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.052) 0:01:00.799 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.052) 0:01:00.852 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.024) 0:01:00.876 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.024) 0:01:00.901 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.023) 0:01:00.925 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.034) 0:01:00.959 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.062) 0:01:01.022 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.056) 0:01:01.078 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.057) 0:01:01.135 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.037) 0:01:01.173 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.037) 0:01:01.211 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.038) 0:01:01.249 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.040) 0:01:01.289 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657121964.3314917, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657121964.3314917, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 701, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657121964.3314917, "nlink": 1, "path": "/dev/mapper/foo-test2", "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/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.390) 0:01:01.680 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:40:10 +0000 (0:00:00.037) 0:01:01.718 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:40:11 +0000 (0:00:00.039) 0:01:01.757 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:40:11 +0000 (0:00:00.041) 0:01:01.799 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:40:11 +0000 (0:00:00.029) 0:01:01.828 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:40:11 +0000 (0:00:00.042) 0:01:01.871 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:40:11 +0000 (0:00:00.026) 0:01:01.898 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.851) 0:01:02.750 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.026) 0:01:02.776 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.025) 0:01:02.801 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.127) 0:01:02.929 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.028) 0:01:02.957 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.026) 0:01:02.984 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.026) 0:01:03.011 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.023) 0:01:03.034 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.023) 0:01:03.058 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.054) 0:01:03.112 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.064) 0:01:03.177 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.041) 0:01:03.218 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.036) 0:01:03.255 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.036) 0:01:03.292 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.036) 0:01:03.328 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.036) 0:01:03.365 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.037) 0:01:03.403 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.036) 0:01:03.439 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.040) 0:01:03.480 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.039) 0:01:03.519 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.036) 0:01:03.555 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:40:12 +0000 (0:00:00.038) 0:01:03.594 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:40:13 +0000 (0:00:00.383) 0:01:03.977 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:40:13 +0000 (0:00:00.399) 0:01:04.377 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:40:13 +0000 (0:00:00.049) 0:01:04.427 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:40:13 +0000 (0:00:00.034) 0:01:04.461 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:40:13 +0000 (0:00:00.039) 0:01:04.501 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:40:13 +0000 (0:00:00.038) 0:01:04.540 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:40:13 +0000 (0:00:00.043) 0:01:04.583 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:40:13 +0000 (0:00:00.039) 0:01:04.623 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:40:13 +0000 (0:00:00.039) 0:01:04.662 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:40:13 +0000 (0:00:00.037) 0:01:04.700 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:40:13 +0000 (0:00:00.036) 0:01:04.737 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:40:14 +0000 (0:00:00.053) 0:01:04.791 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test2" ], "delta": "0:00:00.035708", "end": "2022-07-06 11:40:14.624974", "rc": 0, "start": "2022-07-06 11:40:14.589266" } STDOUT: LVM2_LV_NAME=test2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:40:14 +0000 (0:00:00.462) 0:01:05.253 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:40:14 +0000 (0:00:00.087) 0:01:05.340 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:40:14 +0000 (0:00:00.087) 0:01:05.428 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:40:14 +0000 (0:00:00.042) 0:01:05.470 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:40:14 +0000 (0:00:00.038) 0:01:05.508 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:40:14 +0000 (0:00:00.036) 0:01:05.545 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:40:14 +0000 (0:00:00.038) 0:01:05.584 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:40:14 +0000 (0:00:00.104) 0:01:05.688 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.060) 0:01:05.748 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.083) 0:01:05.832 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.045) 0:01:05.878 ******** ok: [/cache/centos-9.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-test3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "db7adb8b-788f-421c-8d50-37f5f58bcac2" } ], "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-test3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "db7adb8b-788f-421c-8d50-37f5f58bcac2" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.059) 0:01:05.937 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.051) 0:01:05.989 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.049) 0:01:06.038 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.053) 0:01:06.092 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.024) 0:01:06.116 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.026) 0:01:06.143 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.028) 0:01:06.172 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.036) 0:01:06.209 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.065) 0:01:06.274 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.051) 0:01:06.326 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.049) 0:01:06.375 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.035) 0:01:06.410 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.033) 0:01:06.444 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.043) 0:01:06.488 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:40:15 +0000 (0:00:00.040) 0:01:06.528 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657121964.085492, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657121964.085492, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 667, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657121964.085492, "nlink": 1, "path": "/dev/mapper/foo-test3", "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/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:40:16 +0000 (0:00:00.408) 0:01:06.937 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:40:16 +0000 (0:00:00.039) 0:01:06.976 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:40:16 +0000 (0:00:00.040) 0:01:07.017 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:40:16 +0000 (0:00:00.038) 0:01:07.055 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:40:16 +0000 (0:00:00.026) 0:01:07.081 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:40:16 +0000 (0:00:00.039) 0:01:07.121 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:40:16 +0000 (0:00:00.025) 0:01:07.146 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.855) 0:01:08.002 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.026) 0:01:08.029 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.026) 0:01:08.055 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.152) 0:01:08.208 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.027) 0:01:08.235 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.025) 0:01:08.260 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.024) 0:01:08.284 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.027) 0:01:08.312 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.024) 0:01:08.336 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.049) 0:01:08.386 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.053) 0:01:08.439 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.042) 0:01:08.482 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.038) 0:01:08.521 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.035) 0:01:08.556 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.035) 0:01:08.592 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.042) 0:01:08.635 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.039) 0:01:08.674 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:40:17 +0000 (0:00:00.039) 0:01:08.714 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:40:18 +0000 (0:00:00.039) 0:01:08.753 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:40:18 +0000 (0:00:00.040) 0:01:08.793 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:40:18 +0000 (0:00:00.037) 0:01:08.831 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:40:18 +0000 (0:00:00.046) 0:01:08.877 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:40:18 +0000 (0:00:00.401) 0:01:09.279 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:40:18 +0000 (0:00:00.394) 0:01:09.674 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:40:18 +0000 (0:00:00.051) 0:01:09.725 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.040) 0:01:09.765 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.039) 0:01:09.804 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.040) 0:01:09.845 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.038) 0:01:09.883 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.047) 0:01:09.931 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.038) 0:01:09.969 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.039) 0:01:10.009 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.040) 0:01:10.049 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.057) 0:01:10.107 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test3" ], "delta": "0:00:00.042782", "end": "2022-07-06 11:40:19.912220", "rc": 0, "start": "2022-07-06 11:40:19.869438" } STDOUT: LVM2_LV_NAME=test3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.435) 0:01:10.543 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.054) 0:01:10.597 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.098) 0:01:10.695 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:40:19 +0000 (0:00:00.037) 0:01:10.733 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:40:20 +0000 (0:00:00.042) 0:01:10.775 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:40:20 +0000 (0:00:00.040) 0:01:10.815 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:40:20 +0000 (0:00:00.041) 0:01:10.857 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 15:40:20 +0000 (0:00:00.084) 0:01:10.941 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:47 Wednesday 06 July 2022 15:40:20 +0000 (0:00:00.081) 0:01:11.023 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 15:40:20 +0000 (0:00:00.022) 0:01:11.045 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove two of the LVs] *************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:66 Wednesday 06 July 2022 15:40:20 +0000 (0:00:00.034) 0:01:11.080 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 15:40:20 +0000 (0:00:00.056) 0:01:11.137 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:40:20 +0000 (0:00:00.038) 0:01:11.175 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 15:40:20 +0000 (0:00:00.556) 0:01:11.732 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.073) 0:01:11.806 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.037) 0:01:11.843 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.039) 0:01:11.883 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.050) 0:01:11.933 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.023) 0:01:11.957 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.034) 0:01:11.991 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "3g", "state": "absent" }, { "mount_point": "/opt/test3", "name": "test3", "size": "3g", "state": "absent" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.038) 0:01:12.030 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.039) 0:01:12.069 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.029) 0:01:12.099 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.045) 0:01:12.145 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.029) 0:01:12.174 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.028) 0:01:12.203 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.062) 0:01:12.265 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 15:40:21 +0000 (0:00:00.024) 0:01:12.289 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test2", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/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": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test3", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 15:40:24 +0000 (0:00:02.534) 0:01:14.824 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 15:40:24 +0000 (0:00:00.041) 0:01:14.865 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 15:40:24 +0000 (0:00:00.025) 0:01:14.891 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test2", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/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": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test3", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 15:40:24 +0000 (0:00:00.042) 0:01:14.934 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test3", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 15:40:24 +0000 (0:00:00.039) 0:01:14.973 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 15:40:24 +0000 (0:00:00.039) 0:01:15.013 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test3', 'path': '/opt/test3', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test2" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 15:40:25 +0000 (0:00:00.785) 0:01:15.799 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 15:40:25 +0000 (0:00:00.695) 0:01:16.495 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 15:40:26 +0000 (0:00:00.407) 0:01:16.902 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 15:40:26 +0000 (0:00:00.690) 0:01:17.592 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 15:40:27 +0000 (0:00:00.411) 0:01:18.003 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 15:40:27 +0000 (0:00:00.025) 0:01:18.029 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:86 Wednesday 06 July 2022 15:40:28 +0000 (0:00:00.995) 0:01:19.024 ******** included: /tmp/tmpnhy4yzav/tests/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:1 Wednesday 06 July 2022 15:40:28 +0000 (0:00:00.058) 0:01:19.083 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test3", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 15:40:28 +0000 (0:00:00.061) 0:01:19.145 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 15:40:28 +0000 (0:00:00.041) 0:01:19.186 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "85e5a589-3dfa-4ccc-863f-763c7548c160" }, "/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": "SyU0Z3-CMqw-jIHH-lx5i-nUP6-D5ot-tTPqwR" }, "/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-06-15-38-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpnhy4yzav/tests/verify-role-results.yml:19 Wednesday 06 July 2022 15:40:28 +0000 (0:00:00.485) 0:01:19.672 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004952", "end": "2022-07-06 11:40:30.427506", "rc": 0, "start": "2022-07-06 11:40:29.422554" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /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/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 15:40:30 +0000 (0:00:01.391) 0:01:21.063 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003863", "end": "2022-07-06 11:40:30.840733", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:40:30.836870" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:33 Wednesday 06 July 2022 15:40:30 +0000 (0:00:00.422) 0:01:21.485 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['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-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}, {'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/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 15:40:30 +0000 (0:00:00.064) 0:01:21.550 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 15:40:30 +0000 (0:00:00.033) 0:01:21.584 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:40:30 +0000 (0:00:00.044) 0:01:21.628 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 15:40:30 +0000 (0:00:00.056) 0:01:21.685 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.383) 0:01:22.069 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.048) 0:01:22.117 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.048) 0:01:22.166 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.052) 0:01:22.218 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.040) 0:01:22.259 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.056) 0:01:22.315 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.027) 0:01:22.343 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.047) 0:01:22.390 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.045) 0:01:22.436 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.028) 0:01:22.465 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.023) 0:01:22.489 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.024) 0:01:22.514 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.022) 0:01:22.537 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.024) 0:01:22.562 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.024) 0:01:22.586 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.025) 0:01:22.611 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.032) 0:01:22.644 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:40:31 +0000 (0:00:00.042) 0:01:22.687 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.097) 0:01:22.784 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.032) 0:01:22.817 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.034) 0:01:22.851 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.035) 0:01:22.886 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.033) 0:01:22.920 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.034) 0:01:22.954 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.028) 0:01:22.982 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.027) 0:01:23.010 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.026) 0:01:23.036 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.026) 0:01:23.063 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.045) 0:01:23.108 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.057) 0:01:23.166 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.027) 0:01:23.193 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.025) 0:01:23.219 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.024) 0:01:23.243 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.027) 0:01:23.271 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.029) 0:01:23.300 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.025) 0:01:23.325 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.026) 0:01:23.352 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.026) 0:01:23.379 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.028) 0:01:23.408 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.026) 0:01:23.434 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.025) 0:01:23.459 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.025) 0:01:23.485 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.050) 0:01:23.535 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.050) 0:01:23.586 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.037) 0:01:23.624 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.049) 0:01:23.673 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 15:40:32 +0000 (0:00:00.053) 0:01:23.727 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.054) 0:01:23.781 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.036) 0:01:23.818 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.036) 0:01:23.854 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.036) 0:01:23.890 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.036) 0:01:23.927 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.033) 0:01:23.960 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.047) 0:01:24.007 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.101) 0:01:24.109 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.024) 0:01:24.133 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.023) 0:01:24.157 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.022) 0:01:24.179 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.024) 0:01:24.203 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.028) 0:01:24.231 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.026) 0:01:24.258 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.026) 0:01:24.285 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.038) 0:01:24.323 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.028) 0:01:24.351 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.026) 0:01:24.377 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.025) 0:01:24.403 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.025) 0:01:24.428 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.027) 0:01:24.456 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.025) 0:01:24.482 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.025) 0:01:24.507 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.038) 0:01:24.546 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.028) 0:01:24.575 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.024) 0:01:24.599 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.026) 0:01:24.625 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.026) 0:01:24.652 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.027) 0:01:24.680 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.025) 0:01:24.706 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:40:33 +0000 (0:00:00.025) 0:01:24.732 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.037) 0:01:24.769 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.041) 0:01:24.811 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.055) 0:01:24.867 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.051) 0:01:24.919 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.083) 0:01:25.002 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.041) 0:01:25.044 ******** ok: [/cache/centos-9.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": "85e5a589-3dfa-4ccc-863f-763c7548c160" } ], "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": "85e5a589-3dfa-4ccc-863f-763c7548c160" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.061) 0:01:25.105 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.058) 0:01:25.164 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.052) 0:01:25.216 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.097) 0:01:25.314 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.027) 0:01:25.341 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.077) 0:01:25.419 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.026) 0:01:25.446 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.038) 0:01:25.484 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.068) 0:01:25.552 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.054) 0:01:25.606 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.055) 0:01:25.662 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:40:34 +0000 (0:00:00.038) 0:01:25.701 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:40:35 +0000 (0:00:00.039) 0:01:25.741 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:40:35 +0000 (0:00:00.040) 0:01:25.781 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:40:35 +0000 (0:00:00.043) 0:01:25.825 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657121964.5814917, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657121964.5814917, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 734, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657121964.5814917, "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/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:40:35 +0000 (0:00:00.400) 0:01:26.226 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:40:35 +0000 (0:00:00.041) 0:01:26.267 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:40:35 +0000 (0:00:00.040) 0:01:26.307 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:40:35 +0000 (0:00:00.039) 0:01:26.347 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:40:35 +0000 (0:00:00.027) 0:01:26.374 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:40:35 +0000 (0:00:00.039) 0:01:26.414 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:40:35 +0000 (0:00:00.025) 0:01:26.439 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:40:36 +0000 (0:00:00.938) 0:01:27.378 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:40:36 +0000 (0:00:00.026) 0:01:27.404 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:40:36 +0000 (0:00:00.025) 0:01:27.430 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:40:36 +0000 (0:00:00.053) 0:01:27.484 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:40:36 +0000 (0:00:00.026) 0:01:27.511 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:40:36 +0000 (0:00:00.026) 0:01:27.538 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:40:36 +0000 (0:00:00.024) 0:01:27.562 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:40:36 +0000 (0:00:00.024) 0:01:27.587 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:40:36 +0000 (0:00:00.024) 0:01:27.612 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:40:36 +0000 (0:00:00.061) 0:01:27.673 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:40:36 +0000 (0:00:00.052) 0:01:27.725 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.038) 0:01:27.764 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.039) 0:01:27.804 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.038) 0:01:27.842 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.073) 0:01:27.915 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.038) 0:01:27.954 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.041) 0:01:27.996 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.037) 0:01:28.034 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.037) 0:01:28.071 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.038) 0:01:28.109 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.087) 0:01:28.196 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.041) 0:01:28.238 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:40:37 +0000 (0:00:00.409) 0:01:28.648 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:40:38 +0000 (0:00:00.381) 0:01:29.030 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:40:38 +0000 (0:00:00.053) 0:01:29.083 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:40:38 +0000 (0:00:00.039) 0:01:29.122 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:40:38 +0000 (0:00:00.041) 0:01:29.163 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:40:38 +0000 (0:00:00.036) 0:01:29.200 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:40:38 +0000 (0:00:00.036) 0:01:29.237 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:40:38 +0000 (0:00:00.043) 0:01:29.281 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:40:38 +0000 (0:00:00.048) 0:01:29.329 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:40:38 +0000 (0:00:00.040) 0:01:29.369 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:40:38 +0000 (0:00:00.039) 0:01:29.409 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:40:38 +0000 (0:00:00.057) 0:01:29.466 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.042220", "end": "2022-07-06 11:40:39.265040", "rc": 0, "start": "2022-07-06 11:40:39.222820" } 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/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.427) 0:01:29.894 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.053) 0:01:29.947 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.056) 0:01:30.003 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.041) 0:01:30.044 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.043) 0:01:30.088 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.048) 0:01:30.136 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.039) 0:01:30.176 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.037) 0:01:30.213 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.050) 0:01:30.263 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.080) 0:01:30.344 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.039) 0:01:30.384 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.106) 0:01:30.491 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.027) 0:01:30.518 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.051) 0:01:30.570 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.037) 0:01:30.607 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.023) 0:01:30.631 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.024) 0:01:30.656 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:40:39 +0000 (0:00:00.024) 0:01:30.680 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.089) 0:01:30.770 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.143) 0:01:30.913 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.025) 0:01:30.939 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.050) 0:01:30.990 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.040) 0:01:31.030 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.033) 0:01:31.064 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.025) 0:01:31.090 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.026) 0:01:31.116 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.375) 0:01:31.491 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.041) 0:01:31.532 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.023) 0:01:31.556 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.036) 0:01:31.593 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.025) 0:01:31.618 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.026) 0:01:31.644 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:40:40 +0000 (0:00:00.025) 0:01:31.670 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:40:41 +0000 (0:00:00.830) 0:01:32.500 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:40:41 +0000 (0:00:00.025) 0:01:32.525 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:40:41 +0000 (0:00:00.024) 0:01:32.550 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:40:41 +0000 (0:00:00.025) 0:01:32.575 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:40:41 +0000 (0:00:00.024) 0:01:32.600 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:40:41 +0000 (0:00:00.026) 0:01:32.626 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:40:41 +0000 (0:00:00.026) 0:01:32.652 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:40:41 +0000 (0:00:00.027) 0:01:32.679 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:40:41 +0000 (0:00:00.025) 0:01:32.705 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.061) 0:01:32.766 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.067) 0:01:32.833 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.043) 0:01:32.877 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.046) 0:01:32.924 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.038) 0:01:32.962 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.041) 0:01:33.003 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.040) 0:01:33.044 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.040) 0:01:33.084 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.043) 0:01:33.128 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.048) 0:01:33.176 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.040) 0:01:33.217 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.038) 0:01:33.256 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.039) 0:01:33.295 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.026) 0:01:33.322 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.039) 0:01:33.361 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.039) 0:01:33.400 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.078) 0:01:33.479 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.082) 0:01:33.561 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.040) 0:01:33.602 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.037) 0:01:33.639 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.040) 0:01:33.680 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:40:42 +0000 (0:00:00.038) 0:01:33.718 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.038) 0:01:33.757 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.040) 0:01:33.797 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.027) 0:01:33.825 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.025) 0:01:33.851 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.027) 0:01:33.878 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.026) 0:01:33.904 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.027) 0:01:33.932 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.024) 0:01:33.956 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.023) 0:01:33.979 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.023) 0:01:34.003 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.036) 0:01:34.039 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.047) 0:01:34.087 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.081) 0:01:34.168 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.043) 0:01:34.212 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.060) 0:01:34.272 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.026) 0:01:34.298 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.051) 0:01:34.350 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.035) 0:01:34.386 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.026) 0:01:34.412 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.024) 0:01:34.437 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.025) 0:01:34.462 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.036) 0:01:34.499 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.066) 0:01:34.565 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.024) 0:01:34.590 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.049) 0:01:34.639 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.037) 0:01:34.677 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:40:43 +0000 (0:00:00.036) 0:01:34.713 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:40:44 +0000 (0:00:00.025) 0:01:34.739 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:40:44 +0000 (0:00:00.031) 0:01:34.771 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:40:44 +0000 (0:00:00.429) 0:01:35.201 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:40:44 +0000 (0:00:00.039) 0:01:35.240 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:40:44 +0000 (0:00:00.025) 0:01:35.266 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:40:44 +0000 (0:00:00.036) 0:01:35.302 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:40:44 +0000 (0:00:00.026) 0:01:35.329 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:40:44 +0000 (0:00:00.025) 0:01:35.355 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:40:44 +0000 (0:00:00.025) 0:01:35.380 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.841) 0:01:36.222 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.024) 0:01:36.247 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.022) 0:01:36.269 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.022) 0:01:36.292 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.023) 0:01:36.315 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.023) 0:01:36.339 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.024) 0:01:36.363 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.026) 0:01:36.390 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.025) 0:01:36.416 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.054) 0:01:36.470 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.055) 0:01:36.525 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.036) 0:01:36.562 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.037) 0:01:36.599 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.038) 0:01:36.637 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.041) 0:01:36.679 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:40:45 +0000 (0:00:00.037) 0:01:36.716 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.037) 0:01:36.753 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.036) 0:01:36.789 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.040) 0:01:36.830 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.037) 0:01:36.867 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.039) 0:01:36.907 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.040) 0:01:36.947 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.028) 0:01:36.976 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.036) 0:01:37.012 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.036) 0:01:37.049 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.038) 0:01:37.087 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.043) 0:01:37.130 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.036) 0:01:37.167 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.035) 0:01:37.203 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.035) 0:01:37.239 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.042) 0:01:37.281 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.038) 0:01:37.320 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.078) 0:01:37.399 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.027) 0:01:37.426 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.061) 0:01:37.487 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.025) 0:01:37.513 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.025) 0:01:37.539 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.025) 0:01:37.565 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.027) 0:01:37.592 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.025) 0:01:37.618 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.024) 0:01:37.642 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.034) 0:01:37.676 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:47 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.036) 0:01:37.713 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 15:40:46 +0000 (0:00:00.023) 0:01:37.736 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Re-run the previous role invocation to ensure idempotence] *************** task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:88 Wednesday 06 July 2022 15:40:47 +0000 (0:00:00.038) 0:01:37.775 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 15:40:47 +0000 (0:00:00.071) 0:01:37.847 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:40:47 +0000 (0:00:00.038) 0:01:37.885 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 15:40:47 +0000 (0:00:00.561) 0:01:38.447 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 15:40:47 +0000 (0:00:00.071) 0:01:38.518 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 15:40:47 +0000 (0:00:00.037) 0:01:38.556 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 15:40:47 +0000 (0:00:00.035) 0:01:38.592 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:40:47 +0000 (0:00:00.049) 0:01:38.641 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:40:47 +0000 (0:00:00.021) 0:01:38.663 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 15:40:47 +0000 (0:00:00.030) 0:01:38.694 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "3g", "state": "absent" }, { "mount_point": "/opt/test3", "name": "test3", "size": "3g", "state": "absent" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 15:40:47 +0000 (0:00:00.037) 0:01:38.731 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 15:40:48 +0000 (0:00:00.035) 0:01:38.767 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 15:40:48 +0000 (0:00:00.027) 0:01:38.795 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 15:40:48 +0000 (0:00:00.032) 0:01:38.827 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 15:40:48 +0000 (0:00:00.029) 0:01:38.856 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:40:48 +0000 (0:00:00.027) 0:01:38.884 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 15:40:48 +0000 (0:00:00.056) 0:01:38.940 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 15:40:48 +0000 (0:00:00.023) 0:01:38.963 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/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": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 15:40:49 +0000 (0:00:01.474) 0:01:40.437 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 15:40:49 +0000 (0:00:00.039) 0:01:40.477 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 15:40:49 +0000 (0:00:00.024) 0:01:40.501 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/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": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 15:40:49 +0000 (0:00:00.044) 0:01:40.546 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 15:40:49 +0000 (0:00:00.045) 0:01:40.591 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 15:40:49 +0000 (0:00:00.038) 0:01:40.630 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 15:40:49 +0000 (0:00:00.040) 0:01:40.670 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 15:40:50 +0000 (0:00:00.691) 0:01:41.361 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "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/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 15:40:51 +0000 (0:00:00.418) 0:01:41.780 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 15:40:51 +0000 (0:00:00.691) 0:01:42.472 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 15:40:52 +0000 (0:00:00.394) 0:01:42.866 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 15:40:52 +0000 (0:00:00.026) 0:01:42.892 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:108 Wednesday 06 July 2022 15:40:53 +0000 (0:00:01.021) 0:01:43.913 ******** included: /tmp/tmpnhy4yzav/tests/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:1 Wednesday 06 July 2022 15:40:53 +0000 (0:00:00.050) 0:01:43.963 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 15:40:53 +0000 (0:00:00.055) 0:01:44.019 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 15:40:53 +0000 (0:00:00.039) 0:01:44.058 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "85e5a589-3dfa-4ccc-863f-763c7548c160" }, "/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": "SyU0Z3-CMqw-jIHH-lx5i-nUP6-D5ot-tTPqwR" }, "/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-06-15-38-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpnhy4yzav/tests/verify-role-results.yml:19 Wednesday 06 July 2022 15:40:53 +0000 (0:00:00.454) 0:01:44.513 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004652", "end": "2022-07-06 11:40:55.266072", "rc": 0, "start": "2022-07-06 11:40:54.261420" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /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/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 15:40:55 +0000 (0:00:01.387) 0:01:45.900 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003323", "end": "2022-07-06 11:40:55.669493", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:40:55.666170" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:33 Wednesday 06 July 2022 15:40:55 +0000 (0:00:00.399) 0:01:46.300 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['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-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}, {'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/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 15:40:55 +0000 (0:00:00.067) 0:01:46.367 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 15:40:55 +0000 (0:00:00.038) 0:01:46.406 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:40:55 +0000 (0:00:00.046) 0:01:46.452 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 15:40:55 +0000 (0:00:00.054) 0:01:46.507 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.393) 0:01:46.900 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.051) 0:01:46.952 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.054) 0:01:47.006 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.053) 0:01:47.060 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.041) 0:01:47.102 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.052) 0:01:47.154 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.028) 0:01:47.182 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.044) 0:01:47.227 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.055) 0:01:47.283 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.028) 0:01:47.312 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.027) 0:01:47.340 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.025) 0:01:47.365 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.027) 0:01:47.393 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.024) 0:01:47.417 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.022) 0:01:47.440 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.022) 0:01:47.463 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.124) 0:01:47.587 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.043) 0:01:47.631 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.056) 0:01:47.688 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:40:56 +0000 (0:00:00.031) 0:01:47.719 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.029) 0:01:47.749 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.027) 0:01:47.777 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.026) 0:01:47.803 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.025) 0:01:47.829 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.026) 0:01:47.855 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.028) 0:01:47.883 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.028) 0:01:47.912 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.029) 0:01:47.942 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.046) 0:01:47.988 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.057) 0:01:48.046 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.024) 0:01:48.071 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.021) 0:01:48.092 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.023) 0:01:48.116 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.023) 0:01:48.140 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.025) 0:01:48.166 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.025) 0:01:48.191 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.024) 0:01:48.216 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.027) 0:01:48.243 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.024) 0:01:48.268 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.022) 0:01:48.290 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.024) 0:01:48.315 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.022) 0:01:48.337 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.045) 0:01:48.383 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.051) 0:01:48.435 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.031) 0:01:48.467 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.043) 0:01:48.510 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.050) 0:01:48.560 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.052) 0:01:48.613 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.035) 0:01:48.648 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.037) 0:01:48.686 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 15:40:57 +0000 (0:00:00.036) 0:01:48.722 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.099) 0:01:48.822 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.037) 0:01:48.859 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.063) 0:01:48.923 ******** included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) included: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.065) 0:01:48.988 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.026) 0:01:49.014 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.026) 0:01:49.041 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.027) 0:01:49.068 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.027) 0:01:49.095 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.033) 0:01:49.129 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.026) 0:01:49.156 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.024) 0:01:49.180 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.038) 0:01:49.219 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.027) 0:01:49.247 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.026) 0:01:49.273 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.026) 0:01:49.299 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.025) 0:01:49.325 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.026) 0:01:49.352 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.025) 0:01:49.378 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.024) 0:01:49.403 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.038) 0:01:49.441 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.027) 0:01:49.469 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.024) 0:01:49.493 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.025) 0:01:49.519 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.025) 0:01:49.545 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.025) 0:01:49.570 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.024) 0:01:49.595 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.025) 0:01:49.621 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.036) 0:01:49.657 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:40:58 +0000 (0:00:00.036) 0:01:49.693 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.056) 0:01:49.750 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.053) 0:01:49.804 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.080) 0:01:49.884 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.044) 0:01:49.929 ******** ok: [/cache/centos-9.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": "85e5a589-3dfa-4ccc-863f-763c7548c160" } ], "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": "85e5a589-3dfa-4ccc-863f-763c7548c160" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.105) 0:01:50.034 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.120) 0:01:50.154 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.058) 0:01:50.212 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.062) 0:01:50.274 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.027) 0:01:50.302 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.028) 0:01:50.330 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.026) 0:01:50.356 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.040) 0:01:50.396 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.066) 0:01:50.463 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.054) 0:01:50.517 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.051) 0:01:50.568 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.041) 0:01:50.609 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.037) 0:01:50.647 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:40:59 +0000 (0:00:00.044) 0:01:50.691 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:41:00 +0000 (0:00:00.052) 0:01:50.744 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657121964.5814917, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657121964.5814917, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 734, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657121964.5814917, "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/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:41:00 +0000 (0:00:00.404) 0:01:51.148 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:41:00 +0000 (0:00:00.049) 0:01:51.198 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:41:00 +0000 (0:00:00.043) 0:01:51.241 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:41:00 +0000 (0:00:00.037) 0:01:51.279 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:41:00 +0000 (0:00:00.026) 0:01:51.306 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:41:00 +0000 (0:00:00.043) 0:01:51.349 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:41:00 +0000 (0:00:00.027) 0:01:51.376 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:41:01 +0000 (0:00:00.937) 0:01:52.313 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:41:01 +0000 (0:00:00.025) 0:01:52.339 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:41:01 +0000 (0:00:00.024) 0:01:52.364 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:41:01 +0000 (0:00:00.060) 0:01:52.424 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:41:01 +0000 (0:00:00.026) 0:01:52.451 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:41:01 +0000 (0:00:00.026) 0:01:52.477 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:41:01 +0000 (0:00:00.026) 0:01:52.503 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:41:01 +0000 (0:00:00.037) 0:01:52.541 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:41:01 +0000 (0:00:00.027) 0:01:52.569 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:41:01 +0000 (0:00:00.106) 0:01:52.676 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.100) 0:01:52.776 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.040) 0:01:52.817 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.042) 0:01:52.859 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.041) 0:01:52.900 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.083) 0:01:52.984 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.038) 0:01:53.023 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.039) 0:01:53.062 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.041) 0:01:53.104 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.040) 0:01:53.144 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.042) 0:01:53.187 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.043) 0:01:53.230 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.040) 0:01:53.271 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:41:02 +0000 (0:00:00.380) 0:01:53.652 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:41:03 +0000 (0:00:00.398) 0:01:54.051 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:41:03 +0000 (0:00:00.052) 0:01:54.103 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:41:03 +0000 (0:00:00.038) 0:01:54.142 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:41:03 +0000 (0:00:00.037) 0:01:54.179 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:41:03 +0000 (0:00:00.037) 0:01:54.217 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:41:03 +0000 (0:00:00.042) 0:01:54.259 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:41:03 +0000 (0:00:00.039) 0:01:54.298 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:41:03 +0000 (0:00:00.039) 0:01:54.337 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:41:03 +0000 (0:00:00.039) 0:01:54.377 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:41:03 +0000 (0:00:00.041) 0:01:54.418 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:41:03 +0000 (0:00:00.054) 0:01:54.472 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.033011", "end": "2022-07-06 11:41:04.269954", "rc": 0, "start": "2022-07-06 11:41:04.236943" } 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/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.430) 0:01:54.903 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.051) 0:01:54.954 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.055) 0:01:55.009 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.052) 0:01:55.062 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.049) 0:01:55.111 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.042) 0:01:55.154 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.040) 0:01:55.195 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.039) 0:01:55.235 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.052) 0:01:55.287 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.132) 0:01:55.420 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.049) 0:01:55.469 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.058) 0:01:55.528 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.024) 0:01:55.552 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.052) 0:01:55.605 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.038) 0:01:55.643 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.028) 0:01:55.672 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.023) 0:01:55.695 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:41:04 +0000 (0:00:00.025) 0:01:55.721 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.037) 0:01:55.758 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.066) 0:01:55.824 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.023) 0:01:55.848 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.051) 0:01:55.899 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.037) 0:01:55.937 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.036) 0:01:55.974 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.025) 0:01:56.000 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.025) 0:01:56.025 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.382) 0:01:56.407 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.041) 0:01:56.449 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.027) 0:01:56.476 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.038) 0:01:56.514 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.024) 0:01:56.539 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.022) 0:01:56.561 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:41:05 +0000 (0:00:00.023) 0:01:56.584 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:41:06 +0000 (0:00:00.846) 0:01:57.431 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:41:06 +0000 (0:00:00.025) 0:01:57.457 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:41:06 +0000 (0:00:00.024) 0:01:57.481 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:41:06 +0000 (0:00:00.022) 0:01:57.504 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:41:06 +0000 (0:00:00.022) 0:01:57.526 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:41:06 +0000 (0:00:00.022) 0:01:57.548 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:41:06 +0000 (0:00:00.027) 0:01:57.576 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:41:06 +0000 (0:00:00.030) 0:01:57.607 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:41:06 +0000 (0:00:00.026) 0:01:57.633 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:41:06 +0000 (0:00:00.094) 0:01:57.727 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.096) 0:01:57.824 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.037) 0:01:57.862 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.037) 0:01:57.899 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.040) 0:01:57.940 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.035) 0:01:57.975 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.039) 0:01:58.014 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.038) 0:01:58.053 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.040) 0:01:58.093 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.038) 0:01:58.132 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.046) 0:01:58.178 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.041) 0:01:58.220 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.038) 0:01:58.259 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.025) 0:01:58.284 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.039) 0:01:58.324 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.039) 0:01:58.363 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.048) 0:01:58.412 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.039) 0:01:58.451 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.041) 0:01:58.493 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.040) 0:01:58.534 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.040) 0:01:58.574 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.039) 0:01:58.614 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.038) 0:01:58.652 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.040) 0:01:58.692 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:41:07 +0000 (0:00:00.029) 0:01:58.722 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.023) 0:01:58.746 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.022) 0:01:58.769 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.025) 0:01:58.794 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.024) 0:01:58.819 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.024) 0:01:58.844 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.024) 0:01:58.868 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.025) 0:01:58.894 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.037) 0:01:58.932 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.049) 0:01:58.981 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.081) 0:01:59.063 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.045) 0:01:59.108 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.061) 0:01:59.170 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.025) 0:01:59.195 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.102) 0:01:59.298 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.039) 0:01:59.338 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.062) 0:01:59.400 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.024) 0:01:59.425 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.025) 0:01:59.450 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.036) 0:01:59.486 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.065) 0:01:59.551 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.023) 0:01:59.575 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.049) 0:01:59.625 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.043) 0:01:59.668 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.036) 0:01:59.705 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:41:08 +0000 (0:00:00.025) 0:01:59.730 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:41:09 +0000 (0:00:00.023) 0:01:59.754 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:41:09 +0000 (0:00:00.373) 0:02:00.128 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 15:41:09 +0000 (0:00:00.041) 0:02:00.169 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 15:41:09 +0000 (0:00:00.025) 0:02:00.195 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 15:41:09 +0000 (0:00:00.038) 0:02:00.234 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 15:41:09 +0000 (0:00:00.024) 0:02:00.259 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:41:09 +0000 (0:00:00.022) 0:02:00.281 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:41:09 +0000 (0:00:00.022) 0:02:00.303 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.862) 0:02:01.166 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.026) 0:02:01.193 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.026) 0:02:01.219 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.024) 0:02:01.244 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.025) 0:02:01.270 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.025) 0:02:01.295 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.026) 0:02:01.322 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.024) 0:02:01.347 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.028) 0:02:01.375 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.058) 0:02:01.434 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.054) 0:02:01.488 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.041) 0:02:01.530 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.041) 0:02:01.571 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.038) 0:02:01.610 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.038) 0:02:01.648 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.038) 0:02:01.686 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:41:10 +0000 (0:00:00.038) 0:02:01.725 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.040) 0:02:01.765 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.040) 0:02:01.806 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.038) 0:02:01.844 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.038) 0:02:01.882 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.043) 0:02:01.926 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.078) 0:02:02.004 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.041) 0:02:02.045 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.039) 0:02:02.085 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.041) 0:02:02.126 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.042) 0:02:02.169 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.043) 0:02:02.212 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.040) 0:02:02.253 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.039) 0:02:02.292 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.040) 0:02:02.333 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.036) 0:02:02.370 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.039) 0:02:02.410 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.025) 0:02:02.436 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.026) 0:02:02.462 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.026) 0:02:02.488 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.024) 0:02:02.512 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.024) 0:02:02.537 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.026) 0:02:02.563 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.025) 0:02:02.588 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.027) 0:02:02.616 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.037) 0:02:02.653 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:47 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.036) 0:02:02.690 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 15:41:11 +0000 (0:00:00.020) 0:02:02.711 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:110 Wednesday 06 July 2022 15:41:12 +0000 (0:00:00.043) 0:02:02.754 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 15:41:12 +0000 (0:00:00.090) 0:02:02.845 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:41:12 +0000 (0:00:00.042) 0:02:02.887 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 15:41:12 +0000 (0:00:00.565) 0:02:03.452 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 15:41:12 +0000 (0:00:00.073) 0:02:03.526 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 15:41:12 +0000 (0:00:00.037) 0:02:03.563 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 15:41:12 +0000 (0:00:00.038) 0:02:03.602 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:41:12 +0000 (0:00:00.048) 0:02:03.651 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:41:12 +0000 (0:00:00.029) 0:02:03.681 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 15:41:13 +0000 (0:00:00.099) 0:02:03.780 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 15:41:13 +0000 (0:00:00.038) 0:02:03.819 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 15:41:13 +0000 (0:00:00.039) 0:02:03.859 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 15:41:13 +0000 (0:00:00.031) 0:02:03.891 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 15:41:13 +0000 (0:00:00.031) 0:02:03.922 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 15:41:13 +0000 (0:00:00.028) 0:02:03.951 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:41:13 +0000 (0:00:00.027) 0:02:03.978 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 15:41:13 +0000 (0:00:00.059) 0:02:04.038 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 15:41:13 +0000 (0:00:00.022) 0:02:04.061 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 15:41:15 +0000 (0:00:02.098) 0:02:06.159 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 15:41:15 +0000 (0:00:00.039) 0:02:06.198 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 15:41:15 +0000 (0:00:00.023) 0:02:06.222 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 15:41:15 +0000 (0:00:00.041) 0:02:06.264 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 15:41:15 +0000 (0:00:00.038) 0:02:06.303 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 15:41:15 +0000 (0:00:00.037) 0:02:06.340 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 15:41:16 +0000 (0:00:00.421) 0:02:06.761 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 15:41:16 +0000 (0:00:00.700) 0:02:07.462 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 15:41:16 +0000 (0:00:00.040) 0:02:07.502 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 15:41:17 +0000 (0:00:00.680) 0:02:08.183 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 15:41:17 +0000 (0:00:00.400) 0:02:08.583 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 15:41:17 +0000 (0:00:00.023) 0:02:08.607 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=751 changed=6 unreachable=0 failed=0 skipped=735 rescued=0 ignored=0 Wednesday 06 July 2022 15:41:19 +0000 (0:00:02.067) 0:02:10.674 ******** =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.53s /tmp/tmpnhy4yzav/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.48s /tmp/tmpnhy4yzav/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.10s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : Update facts ------------------------------- 2.07s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : get service facts -------------------------- 1.87s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.72s /tmp/tmpnhy4yzav/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.47s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/crypttab file --------------------------------------------- 1.39s /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 ----------------------------- Gathering Facts --------------------------------------------------------- 1.39s /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes_scsi_generated.yml:3 Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmpnhy4yzav/tests/verify-role-results.yml:19 ----------------------------- Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmpnhy4yzav/tests/verify-role-results.yml:19 ----------------------------- Read the /etc/crypttab file --------------------------------------------- 1.38s /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 ----------------------------- linux-system-roles.storage : make sure blivet is available -------------- 1.34s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : set up new/current mounts ------------------ 1.32s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 linux-system-roles.storage : Update facts ------------------------------- 1.24s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : set up new/current mounts ------------------ 1.13s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 linux-system-roles.storage : Update facts ------------------------------- 1.02s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmpnhy4yzav/tests/tests_lvm_one_disk_multiple_volumes.yml:2 -------------- 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/tmpq6mp_rlx 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_lvm_one_disk_multiple_volumes_scsi_generated.yml *************** 2 plays in /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes_scsi_generated.yml:3 Wednesday 06 July 2022 19:06:54 +0000 (0:00:00.014) 0:00:00.014 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes_scsi_generated.yml:7 Wednesday 06 July 2022 19:06:55 +0000 (0:00:01.368) 0:00:01.382 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:2 Wednesday 06 July 2022 19:06:55 +0000 (0:00:00.048) 0:00:01.430 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:11 Wednesday 06 July 2022 19:06:56 +0000 (0:00:00.951) 0:00:02.382 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 19:06:56 +0000 (0:00:00.040) 0:00:02.423 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 19:06:56 +0000 (0:00:00.034) 0:00:02.457 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 19:06:57 +0000 (0:00:00.543) 0:00:03.000 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 19:06:57 +0000 (0:00:00.073) 0:00:03.073 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 19:06:57 +0000 (0:00:00.041) 0:00:03.114 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 19:06:57 +0000 (0:00:00.040) 0:00:03.155 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 19:06:57 +0000 (0:00:00.055) 0:00:03.211 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 19:06:57 +0000 (0:00:00.019) 0:00:03.230 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 19:06:58 +0000 (0:00:01.323) 0:00:04.554 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 19:06:58 +0000 (0:00:00.035) 0:00:04.589 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 19:06:58 +0000 (0:00:00.043) 0:00:04.633 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 19:06:59 +0000 (0:00:00.780) 0:00:05.413 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 19:06:59 +0000 (0:00:00.047) 0:00:05.461 ******** TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 19:06:59 +0000 (0:00:00.034) 0:00:05.495 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 19:06:59 +0000 (0:00:00.038) 0:00:05.533 ******** TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 19:06:59 +0000 (0:00:00.032) 0:00:05.566 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 19:07:00 +0000 (0:00:01.021) 0:00:06.587 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.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" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "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" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 19:07:02 +0000 (0:00:01.789) 0:00:08.377 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 19:07:02 +0000 (0:00:00.059) 0:00:08.437 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 19:07:02 +0000 (0:00:00.021) 0:00:08.458 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.534) 0:00:08.992 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.037) 0:00:09.030 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.022) 0:00:09.053 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.037) 0:00:09.090 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.038) 0:00:09.128 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.039) 0:00:09.168 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.038) 0:00:09.206 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.025) 0:00:09.232 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.035) 0:00:09.267 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.022) 0:00:09.290 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.517) 0:00:09.807 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 19:07:03 +0000 (0:00:00.021) 0:00:09.829 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:14 Wednesday 06 July 2022 19:07:04 +0000 (0:00:00.978) 0:00:10.807 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:21 Wednesday 06 July 2022 19:07:04 +0000 (0:00:00.066) 0:00:10.874 ******** included: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml for /cache/centos-9.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:2 Wednesday 06 July 2022 19:07:05 +0000 (0:00:00.036) 0:00:10.910 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:9 Wednesday 06 July 2022 19:07:05 +0000 (0:00:00.528) 0:00:11.439 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:14 Wednesday 06 July 2022 19:07:05 +0000 (0:00:00.035) 0:00:11.475 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:19 Wednesday 06 July 2022 19:07:05 +0000 (0:00:00.039) 0:00:11.515 ******** ok: [/cache/centos-9.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create three LVM logical volumes under one volume group] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:26 Wednesday 06 July 2022 19:07:05 +0000 (0:00:00.036) 0:00:11.551 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 19:07:05 +0000 (0:00:00.044) 0:00:11.596 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 19:07:05 +0000 (0:00:00.035) 0:00:11.632 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.530) 0:00:12.162 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.072) 0:00:12.234 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.033) 0:00:12.268 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.032) 0:00:12.301 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.054) 0:00:12.355 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.020) 0:00:12.376 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.028) 0:00:12.404 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "test3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.038) 0:00:12.443 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.035) 0:00:12.478 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.027) 0:00:12.506 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.033) 0:00:12.540 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.028) 0:00:12.569 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.028) 0:00:12.597 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.060) 0:00:12.658 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 19:07:06 +0000 (0:00:00.024) 0:00:12.682 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/foo-test2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "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/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2", "/dev/mapper/foo-test3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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/test3", "name": "test3", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 19:07:09 +0000 (0:00:02.448) 0:00:15.131 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 19:07:09 +0000 (0:00:00.038) 0:00:15.170 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 19:07:09 +0000 (0:00:00.023) 0:00:15.193 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/foo-test2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "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/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2", "/dev/mapper/foo-test3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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/test3", "name": "test3", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 19:07:09 +0000 (0:00:00.041) 0:00:15.235 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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/test3", "name": "test3", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 19:07:09 +0000 (0:00:00.040) 0:00:15.275 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 19:07:09 +0000 (0:00:00.039) 0:00:15.314 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 19:07:09 +0000 (0:00:00.039) 0:00:15.353 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 19:07:10 +0000 (0:00:00.963) 0:00:16.317 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test3', 'path': '/opt/test3', '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/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 19:07:11 +0000 (0:00:01.373) 0:00:17.691 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 19:07:12 +0000 (0:00:00.698) 0:00:18.389 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 19:07:12 +0000 (0:00:00.397) 0:00:18.787 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 19:07:12 +0000 (0:00:00.022) 0:00:18.810 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:44 Wednesday 06 July 2022 19:07:13 +0000 (0:00:00.990) 0:00:19.800 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 19:07:13 +0000 (0:00:00.043) 0:00:19.844 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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/test3", "name": "test3", "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/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 19:07:13 +0000 (0:00:00.051) 0:00:19.895 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 19:07:14 +0000 (0:00:00.034) 0:00:19.929 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" }, "/dev/mapper/foo-test2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test2", "size": "3G", "type": "lvm", "uuid": "c62f9e44-b14e-4f15-aa09-0782e6199dfe" }, "/dev/mapper/foo-test3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test3", "size": "3G", "type": "lvm", "uuid": "cc171106-b129-46dd-a25a-b10235fee50e" }, "/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": "Wc1J93-FYKj-Tyax-jx1x-SHUm-1Leq-wsVPdf" }, "/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-06-19-06-39-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 19:07:14 +0000 (0:00:00.502) 0:00:20.431 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003246", "end": "2022-07-06 15:07:15.245911", "rc": 0, "start": "2022-07-06 15:07:15.242665" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /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 /dev/mapper/foo-test2 /opt/test2 xfs defaults 0 0 /dev/mapper/foo-test3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 19:07:15 +0000 (0:00:00.503) 0:00:20.935 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003444", "end": "2022-07-06 15:07:15.661661", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:07:15.658217" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 19:07:15 +0000 (0:00:00.413) 0:00:21.349 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'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/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 19:07:15 +0000 (0:00:00.063) 0:00:21.413 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 19:07:15 +0000 (0:00:00.041) 0:00:21.455 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 19:07:15 +0000 (0:00:00.061) 0:00:21.516 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 19:07:15 +0000 (0:00:00.059) 0:00:21.576 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.476) 0:00:22.052 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.056) 0:00:22.108 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.051) 0:00:22.160 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.054) 0:00:22.214 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.041) 0:00:22.255 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.052) 0:00:22.308 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.025) 0:00:22.333 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.046) 0:00:22.380 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.044) 0:00:22.424 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.026) 0:00:22.450 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.026) 0:00:22.477 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.025) 0:00:22.503 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.025) 0:00:22.528 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.025) 0:00:22.554 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.024) 0:00:22.578 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.022) 0:00:22.601 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.035) 0:00:22.637 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.047) 0:00:22.684 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.055) 0:00:22.740 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.059) 0:00:22.800 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.030) 0:00:22.830 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.029) 0:00:22.859 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:07:16 +0000 (0:00:00.027) 0:00:22.887 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.028) 0:00:22.915 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.026) 0:00:22.941 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.026) 0:00:22.968 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.029) 0:00:22.997 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.030) 0:00:23.028 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.046) 0:00:23.074 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.058) 0:00:23.133 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.024) 0:00:23.157 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.023) 0:00:23.180 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.022) 0:00:23.203 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.021) 0:00:23.224 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.021) 0:00:23.246 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.023) 0:00:23.270 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.026) 0:00:23.297 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.026) 0:00:23.323 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.025) 0:00:23.348 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.024) 0:00:23.372 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.028) 0:00:23.400 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.023) 0:00:23.424 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.049) 0:00:23.474 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.056) 0:00:23.530 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.031) 0:00:23.562 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.043) 0:00:23.605 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.048) 0:00:23.653 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.048) 0:00:23.702 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.042) 0:00:23.744 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.038) 0:00:23.783 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.035) 0:00:23.818 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.033) 0:00:23.852 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 19:07:17 +0000 (0:00:00.034) 0:00:23.886 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.048) 0:00:23.935 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.096) 0:00:24.032 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.027) 0:00:24.059 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.026) 0:00:24.085 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.026) 0:00:24.112 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.025) 0:00:24.138 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.025) 0:00:24.163 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.024) 0:00:24.188 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.025) 0:00:24.213 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.032) 0:00:24.245 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.026) 0:00:24.272 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.025) 0:00:24.298 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.027) 0:00:24.325 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.023) 0:00:24.348 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.023) 0:00:24.371 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.023) 0:00:24.395 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.028) 0:00:24.423 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.034) 0:00:24.458 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.023) 0:00:24.481 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.023) 0:00:24.505 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.026) 0:00:24.531 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.024) 0:00:24.556 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.023) 0:00:24.579 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.023) 0:00:24.602 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.024) 0:00:24.627 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.032) 0:00:24.660 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.033) 0:00:24.693 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.051) 0:00:24.745 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.046) 0:00:24.792 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:07:18 +0000 (0:00:00.084) 0:00:24.877 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.039) 0:00:24.916 ******** ok: [/cache/centos-9.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": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" } ], "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": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.053) 0:00:24.970 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.048) 0:00:25.018 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.048) 0:00:25.067 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.088) 0:00:25.155 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.023) 0:00:25.179 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.059) 0:00:25.239 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.027) 0:00:25.266 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.036) 0:00:25.303 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.070) 0:00:25.374 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.060) 0:00:25.434 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.049) 0:00:25.483 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.038) 0:00:25.522 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.041) 0:00:25.563 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.040) 0:00:25.604 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:07:19 +0000 (0:00:00.044) 0:00:25.648 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657134429.377386, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657134429.377386, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 738, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657134429.377386, "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/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:07:20 +0000 (0:00:00.398) 0:00:26.046 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:07:20 +0000 (0:00:00.037) 0:00:26.084 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:07:20 +0000 (0:00:00.036) 0:00:26.120 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:07:20 +0000 (0:00:00.034) 0:00:26.154 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:07:20 +0000 (0:00:00.023) 0:00:26.177 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:07:20 +0000 (0:00:00.038) 0:00:26.216 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:07:20 +0000 (0:00:00.022) 0:00:26.238 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.926) 0:00:27.164 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.027) 0:00:27.192 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.026) 0:00:27.219 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.052) 0:00:27.271 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.024) 0:00:27.296 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.023) 0:00:27.320 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.025) 0:00:27.345 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.026) 0:00:27.372 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.026) 0:00:27.398 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.054) 0:00:27.453 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.050) 0:00:27.503 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.037) 0:00:27.541 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.038) 0:00:27.579 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.042) 0:00:27.622 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.036) 0:00:27.659 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.037) 0:00:27.697 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.039) 0:00:27.736 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.043) 0:00:27.780 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.038) 0:00:27.818 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.037) 0:00:27.856 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:07:21 +0000 (0:00:00.035) 0:00:27.892 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:07:22 +0000 (0:00:00.080) 0:00:27.973 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:07:22 +0000 (0:00:00.499) 0:00:28.473 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:07:22 +0000 (0:00:00.393) 0:00:28.866 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.051) 0:00:28.918 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.039) 0:00:28.957 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.040) 0:00:28.998 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.039) 0:00:29.038 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.039) 0:00:29.077 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.038) 0:00:29.116 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.041) 0:00:29.157 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.036) 0:00:29.193 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.035) 0:00:29.229 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.054) 0:00:29.283 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.033449", "end": "2022-07-06 15:07:24.011158", "rc": 0, "start": "2022-07-06 15:07:23.977709" } 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/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.413) 0:00:29.696 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.056) 0:00:29.753 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.057) 0:00:29.811 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.043) 0:00:29.854 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:07:23 +0000 (0:00:00.041) 0:00:29.896 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.041) 0:00:29.937 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.042) 0:00:29.980 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.036) 0:00:30.016 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.053) 0:00:30.069 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.084) 0:00:30.153 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.128) 0:00:30.282 ******** ok: [/cache/centos-9.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-test2", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "c62f9e44-b14e-4f15-aa09-0782e6199dfe" } ], "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-test2", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "c62f9e44-b14e-4f15-aa09-0782e6199dfe" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.060) 0:00:30.342 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.054) 0:00:30.396 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.055) 0:00:30.452 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.052) 0:00:30.504 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.024) 0:00:30.528 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.023) 0:00:30.552 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.024) 0:00:30.577 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.035) 0:00:30.612 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.064) 0:00:30.677 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.058) 0:00:30.736 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.052) 0:00:30.789 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.037) 0:00:30.827 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:07:24 +0000 (0:00:00.038) 0:00:30.865 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:07:25 +0000 (0:00:00.043) 0:00:30.909 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:07:25 +0000 (0:00:00.040) 0:00:30.949 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657134429.1023862, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657134429.1023862, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 705, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657134429.1023862, "nlink": 1, "path": "/dev/mapper/foo-test2", "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/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:07:25 +0000 (0:00:00.382) 0:00:31.332 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:07:25 +0000 (0:00:00.041) 0:00:31.373 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:07:25 +0000 (0:00:00.041) 0:00:31.414 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:07:25 +0000 (0:00:00.036) 0:00:31.451 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:07:25 +0000 (0:00:00.026) 0:00:31.477 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:07:25 +0000 (0:00:00.044) 0:00:31.522 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:07:25 +0000 (0:00:00.024) 0:00:31.546 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.839) 0:00:32.386 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.024) 0:00:32.411 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.024) 0:00:32.435 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.086) 0:00:32.522 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.057) 0:00:32.580 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.025) 0:00:32.606 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.024) 0:00:32.630 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.025) 0:00:32.656 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.025) 0:00:32.681 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.052) 0:00:32.733 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.055) 0:00:32.789 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.045) 0:00:32.834 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:07:26 +0000 (0:00:00.040) 0:00:32.875 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:07:27 +0000 (0:00:00.038) 0:00:32.913 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:07:27 +0000 (0:00:00.035) 0:00:32.949 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:07:27 +0000 (0:00:00.040) 0:00:32.989 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:07:27 +0000 (0:00:00.043) 0:00:33.032 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:07:27 +0000 (0:00:00.038) 0:00:33.071 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:07:27 +0000 (0:00:00.041) 0:00:33.112 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:07:27 +0000 (0:00:00.048) 0:00:33.161 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:07:27 +0000 (0:00:00.039) 0:00:33.201 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:07:27 +0000 (0:00:00.041) 0:00:33.242 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:07:27 +0000 (0:00:00.415) 0:00:33.657 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.392) 0:00:34.050 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.053) 0:00:34.104 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.040) 0:00:34.145 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.037) 0:00:34.182 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.040) 0:00:34.223 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.036) 0:00:34.260 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.037) 0:00:34.297 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.036) 0:00:34.334 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.036) 0:00:34.370 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.036) 0:00:34.407 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.059) 0:00:34.466 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test2" ], "delta": "0:00:00.035112", "end": "2022-07-06 15:07:29.202617", "rc": 0, "start": "2022-07-06 15:07:29.167505" } STDOUT: LVM2_LV_NAME=test2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:07:28 +0000 (0:00:00.427) 0:00:34.893 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.096) 0:00:34.989 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.092) 0:00:35.081 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.040) 0:00:35.122 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.039) 0:00:35.161 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.040) 0:00:35.202 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.040) 0:00:35.242 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.035) 0:00:35.278 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.051) 0:00:35.329 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.081) 0:00:35.411 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.041) 0:00:35.453 ******** ok: [/cache/centos-9.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-test3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "cc171106-b129-46dd-a25a-b10235fee50e" } ], "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-test3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "cc171106-b129-46dd-a25a-b10235fee50e" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.057) 0:00:35.511 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.054) 0:00:35.565 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.053) 0:00:35.618 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.057) 0:00:35.675 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.025) 0:00:35.701 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.024) 0:00:35.726 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.023) 0:00:35.749 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.033) 0:00:35.782 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.065) 0:00:35.848 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:07:29 +0000 (0:00:00.049) 0:00:35.898 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.046) 0:00:35.944 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.038) 0:00:35.982 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.046) 0:00:36.029 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.040) 0:00:36.070 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.047) 0:00:36.117 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657134428.8503861, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657134428.8503861, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 671, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657134428.8503861, "nlink": 1, "path": "/dev/mapper/foo-test3", "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/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.377) 0:00:36.495 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.040) 0:00:36.536 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.042) 0:00:36.578 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.040) 0:00:36.619 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.025) 0:00:36.644 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.041) 0:00:36.686 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:07:30 +0000 (0:00:00.026) 0:00:36.712 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:07:31 +0000 (0:00:00.887) 0:00:37.599 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:07:31 +0000 (0:00:00.025) 0:00:37.625 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:07:31 +0000 (0:00:00.026) 0:00:37.651 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:07:31 +0000 (0:00:00.055) 0:00:37.707 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:07:31 +0000 (0:00:00.025) 0:00:37.733 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:07:31 +0000 (0:00:00.026) 0:00:37.759 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:07:31 +0000 (0:00:00.024) 0:00:37.783 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:07:31 +0000 (0:00:00.024) 0:00:37.808 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:07:31 +0000 (0:00:00.023) 0:00:37.831 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:07:31 +0000 (0:00:00.049) 0:00:37.881 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.050) 0:00:37.931 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.036) 0:00:37.968 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.041) 0:00:38.010 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.040) 0:00:38.050 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.042) 0:00:38.093 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.041) 0:00:38.134 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.039) 0:00:38.173 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.038) 0:00:38.212 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.041) 0:00:38.253 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.040) 0:00:38.293 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.040) 0:00:38.334 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.040) 0:00:38.374 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:07:32 +0000 (0:00:00.389) 0:00:38.764 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:07:33 +0000 (0:00:00.403) 0:00:39.168 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:07:33 +0000 (0:00:00.081) 0:00:39.250 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:07:33 +0000 (0:00:00.036) 0:00:39.286 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:07:33 +0000 (0:00:00.036) 0:00:39.323 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:07:33 +0000 (0:00:00.038) 0:00:39.362 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:07:33 +0000 (0:00:00.041) 0:00:39.404 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:07:33 +0000 (0:00:00.074) 0:00:39.478 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:07:33 +0000 (0:00:00.039) 0:00:39.518 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:07:33 +0000 (0:00:00.038) 0:00:39.557 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:07:33 +0000 (0:00:00.040) 0:00:39.597 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:07:33 +0000 (0:00:00.052) 0:00:39.650 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test3" ], "delta": "0:00:00.038984", "end": "2022-07-06 15:07:34.407311", "rc": 0, "start": "2022-07-06 15:07:34.368327" } STDOUT: LVM2_LV_NAME=test3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.446) 0:00:40.097 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.052) 0:00:40.149 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.063) 0:00:40.213 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.048) 0:00:40.261 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.042) 0:00:40.303 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.038) 0:00:40.341 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.036) 0:00:40.378 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.036) 0:00:40.414 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.039) 0:00:40.454 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.023) 0:00:40.478 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:46 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.037) 0:00:40.516 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.048) 0:00:40.564 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 19:07:34 +0000 (0:00:00.036) 0:00:40.601 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.558) 0:00:41.160 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.096) 0:00:41.257 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.039) 0:00:41.296 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.041) 0:00:41.337 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.061) 0:00:41.399 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.022) 0:00:41.421 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.031) 0:00:41.453 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "test3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.103) 0:00:41.556 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.035) 0:00:41.592 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.026) 0:00:41.619 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.026) 0:00:41.646 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.025) 0:00:41.671 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.025) 0:00:41.697 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.060) 0:00:41.757 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 19:07:35 +0000 (0:00:00.023) 0:00:41.780 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2", "/dev/mapper/foo-test3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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": "/opt/test3", "name": "test3", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 19:07:37 +0000 (0:00:01.738) 0:00:43.519 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 19:07:37 +0000 (0:00:00.039) 0:00:43.559 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 19:07:37 +0000 (0:00:00.024) 0:00:43.584 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/mapper/foo-test2", "/dev/mapper/foo-test3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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": "/opt/test3", "name": "test3", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 19:07:37 +0000 (0:00:00.042) 0:00:43.627 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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": "/opt/test3", "name": "test3", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 19:07:37 +0000 (0:00:00.045) 0:00:43.672 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 19:07:37 +0000 (0:00:00.037) 0:00:43.710 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 19:07:37 +0000 (0:00:00.037) 0:00:43.747 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 19:07:38 +0000 (0:00:00.681) 0:00:44.429 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "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" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 19:07:39 +0000 (0:00:01.166) 0:00:45.595 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 19:07:40 +0000 (0:00:00.666) 0:00:46.262 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 19:07:40 +0000 (0:00:00.393) 0:00:46.656 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 19:07:40 +0000 (0:00:00.024) 0:00:46.681 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:64 Wednesday 06 July 2022 19:07:41 +0000 (0:00:01.013) 0:00:47.694 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 19:07:41 +0000 (0:00:00.089) 0:00:47.784 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "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 }, { "_device": "/dev/mapper/foo-test3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "_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": "/opt/test3", "name": "test3", "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/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 19:07:41 +0000 (0:00:00.056) 0:00:47.840 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 19:07:41 +0000 (0:00:00.038) 0:00:47.878 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" }, "/dev/mapper/foo-test2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test2", "size": "3G", "type": "lvm", "uuid": "c62f9e44-b14e-4f15-aa09-0782e6199dfe" }, "/dev/mapper/foo-test3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test3", "size": "3G", "type": "lvm", "uuid": "cc171106-b129-46dd-a25a-b10235fee50e" }, "/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": "Wc1J93-FYKj-Tyax-jx1x-SHUm-1Leq-wsVPdf" }, "/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-06-19-06-39-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 19:07:42 +0000 (0:00:00.395) 0:00:48.274 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002954", "end": "2022-07-06 15:07:42.970869", "rc": 0, "start": "2022-07-06 15:07:42.967915" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /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 /dev/mapper/foo-test2 /opt/test2 xfs defaults 0 0 /dev/mapper/foo-test3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 19:07:42 +0000 (0:00:00.382) 0:00:48.656 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003006", "end": "2022-07-06 15:07:43.329698", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:07:43.326692" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.360) 0:00:49.016 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['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-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'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/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.066) 0:00:49.083 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.036) 0:00:49.120 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.049) 0:00:49.169 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.052) 0:00:49.222 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.400) 0:00:49.622 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.049) 0:00:49.672 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.049) 0:00:49.721 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.051) 0:00:49.773 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.036) 0:00:49.810 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.052) 0:00:49.863 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 19:07:43 +0000 (0:00:00.027) 0:00:49.890 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.044) 0:00:49.934 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.044) 0:00:49.978 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.027) 0:00:50.005 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.027) 0:00:50.032 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.027) 0:00:50.060 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.025) 0:00:50.085 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.055) 0:00:50.141 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.027) 0:00:50.168 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.025) 0:00:50.194 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.035) 0:00:50.229 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.046) 0:00:50.276 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.056) 0:00:50.333 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.030) 0:00:50.363 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.028) 0:00:50.391 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.029) 0:00:50.421 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.032) 0:00:50.453 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.029) 0:00:50.483 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.026) 0:00:50.510 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.026) 0:00:50.536 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.026) 0:00:50.563 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.025) 0:00:50.588 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.045) 0:00:50.634 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.055) 0:00:50.690 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.023) 0:00:50.713 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.025) 0:00:50.739 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.033) 0:00:50.772 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.028) 0:00:50.800 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.026) 0:00:50.827 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.029) 0:00:50.857 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:07:44 +0000 (0:00:00.026) 0:00:50.883 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.025) 0:00:50.908 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.026) 0:00:50.934 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.026) 0:00:50.961 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.024) 0:00:50.985 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.024) 0:00:51.010 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.049) 0:00:51.060 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.053) 0:00:51.113 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.029) 0:00:51.143 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.043) 0:00:51.186 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.105) 0:00:51.291 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.123) 0:00:51.415 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.040) 0:00:51.456 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.038) 0:00:51.494 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.037) 0:00:51.532 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.036) 0:00:51.569 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.036) 0:00:51.605 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.049) 0:00:51.655 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.063) 0:00:51.718 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.023) 0:00:51.742 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.023) 0:00:51.766 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.022) 0:00:51.788 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.022) 0:00:51.810 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.022) 0:00:51.832 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.023) 0:00:51.856 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:07:45 +0000 (0:00:00.022) 0:00:51.878 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.037) 0:00:51.915 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.024) 0:00:51.940 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.031) 0:00:51.972 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.024) 0:00:51.996 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.024) 0:00:52.021 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.024) 0:00:52.045 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.027) 0:00:52.072 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.025) 0:00:52.098 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.038) 0:00:52.136 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.025) 0:00:52.162 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.025) 0:00:52.188 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.024) 0:00:52.212 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.023) 0:00:52.236 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.026) 0:00:52.263 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.032) 0:00:52.295 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.026) 0:00:52.321 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.040) 0:00:52.362 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.038) 0:00:52.400 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.058) 0:00:52.459 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.051) 0:00:52.510 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.083) 0:00:52.593 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.101) 0:00:52.695 ******** ok: [/cache/centos-9.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": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" } ], "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": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.056) 0:00:52.751 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.050) 0:00:52.802 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:07:46 +0000 (0:00:00.066) 0:00:52.869 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.059) 0:00:52.928 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.029) 0:00:52.958 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.028) 0:00:52.986 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.026) 0:00:53.012 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.037) 0:00:53.050 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.066) 0:00:53.117 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.052) 0:00:53.170 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.048) 0:00:53.218 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.037) 0:00:53.256 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.039) 0:00:53.295 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.043) 0:00:53.339 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.047) 0:00:53.386 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657134429.377386, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657134429.377386, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 738, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657134429.377386, "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/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.389) 0:00:53.776 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.040) 0:00:53.816 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.041) 0:00:53.858 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:07:47 +0000 (0:00:00.039) 0:00:53.898 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:07:48 +0000 (0:00:00.025) 0:00:53.923 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:07:48 +0000 (0:00:00.036) 0:00:53.960 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:07:48 +0000 (0:00:00.022) 0:00:53.982 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:07:48 +0000 (0:00:00.874) 0:00:54.857 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:07:48 +0000 (0:00:00.026) 0:00:54.883 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.025) 0:00:54.909 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.053) 0:00:54.963 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.025) 0:00:54.989 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.025) 0:00:55.014 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.027) 0:00:55.042 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.026) 0:00:55.068 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.024) 0:00:55.093 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.096) 0:00:55.189 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.082) 0:00:55.271 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.039) 0:00:55.311 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.038) 0:00:55.349 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.039) 0:00:55.389 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.036) 0:00:55.425 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.051) 0:00:55.476 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.039) 0:00:55.516 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.040) 0:00:55.556 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.038) 0:00:55.594 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.037) 0:00:55.632 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.037) 0:00:55.669 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:07:49 +0000 (0:00:00.040) 0:00:55.710 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:07:50 +0000 (0:00:00.395) 0:00:56.106 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:07:50 +0000 (0:00:00.400) 0:00:56.506 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:07:50 +0000 (0:00:00.053) 0:00:56.559 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:07:50 +0000 (0:00:00.039) 0:00:56.598 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:07:50 +0000 (0:00:00.039) 0:00:56.638 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:07:50 +0000 (0:00:00.038) 0:00:56.676 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:07:50 +0000 (0:00:00.041) 0:00:56.718 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:07:50 +0000 (0:00:00.038) 0:00:56.757 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:07:50 +0000 (0:00:00.038) 0:00:56.795 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:07:50 +0000 (0:00:00.039) 0:00:56.834 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:07:50 +0000 (0:00:00.039) 0:00:56.874 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:07:51 +0000 (0:00:00.052) 0:00:56.927 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040860", "end": "2022-07-06 15:07:51.664576", "rc": 0, "start": "2022-07-06 15:07:51.623716" } 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/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:07:51 +0000 (0:00:00.425) 0:00:57.353 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:07:51 +0000 (0:00:00.050) 0:00:57.404 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:07:51 +0000 (0:00:00.081) 0:00:57.485 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:07:51 +0000 (0:00:00.039) 0:00:57.525 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:07:51 +0000 (0:00:00.039) 0:00:57.565 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:07:51 +0000 (0:00:00.040) 0:00:57.605 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:07:51 +0000 (0:00:00.040) 0:00:57.646 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:07:51 +0000 (0:00:00.119) 0:00:57.765 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:07:51 +0000 (0:00:00.049) 0:00:57.814 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:07:51 +0000 (0:00:00.089) 0:00:57.904 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.047) 0:00:57.951 ******** ok: [/cache/centos-9.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-test2", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "c62f9e44-b14e-4f15-aa09-0782e6199dfe" } ], "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-test2", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "c62f9e44-b14e-4f15-aa09-0782e6199dfe" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.070) 0:00:58.022 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.053) 0:00:58.075 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.056) 0:00:58.132 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.059) 0:00:58.191 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.026) 0:00:58.217 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.026) 0:00:58.244 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.025) 0:00:58.269 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.041) 0:00:58.310 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.070) 0:00:58.380 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.050) 0:00:58.430 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.054) 0:00:58.485 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.037) 0:00:58.523 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.037) 0:00:58.560 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.041) 0:00:58.602 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:07:52 +0000 (0:00:00.046) 0:00:58.648 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657134429.1023862, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657134429.1023862, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 705, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657134429.1023862, "nlink": 1, "path": "/dev/mapper/foo-test2", "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/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:07:53 +0000 (0:00:00.393) 0:00:59.042 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:07:53 +0000 (0:00:00.040) 0:00:59.082 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:07:53 +0000 (0:00:00.042) 0:00:59.124 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:07:53 +0000 (0:00:00.036) 0:00:59.161 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:07:53 +0000 (0:00:00.025) 0:00:59.186 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:07:53 +0000 (0:00:00.041) 0:00:59.228 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:07:53 +0000 (0:00:00.025) 0:00:59.254 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.912) 0:01:00.166 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.025) 0:01:00.192 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.026) 0:01:00.218 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.053) 0:01:00.271 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.027) 0:01:00.299 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.025) 0:01:00.324 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.024) 0:01:00.349 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.025) 0:01:00.375 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.026) 0:01:00.402 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.052) 0:01:00.455 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.050) 0:01:00.505 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.038) 0:01:00.544 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.046) 0:01:00.591 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.037) 0:01:00.629 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.037) 0:01:00.666 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.040) 0:01:00.707 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.042) 0:01:00.749 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.037) 0:01:00.787 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.038) 0:01:00.826 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.037) 0:01:00.864 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:07:54 +0000 (0:00:00.041) 0:01:00.905 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:07:55 +0000 (0:00:00.040) 0:01:00.945 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:07:55 +0000 (0:00:00.394) 0:01:01.339 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:07:55 +0000 (0:00:00.403) 0:01:01.742 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:07:55 +0000 (0:00:00.049) 0:01:01.792 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:07:55 +0000 (0:00:00.038) 0:01:01.831 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:07:55 +0000 (0:00:00.038) 0:01:01.869 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:07:55 +0000 (0:00:00.036) 0:01:01.906 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:07:56 +0000 (0:00:00.038) 0:01:01.945 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:07:56 +0000 (0:00:00.038) 0:01:01.983 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:07:56 +0000 (0:00:00.049) 0:01:02.032 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:07:56 +0000 (0:00:00.039) 0:01:02.072 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:07:56 +0000 (0:00:00.077) 0:01:02.150 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:07:56 +0000 (0:00:00.101) 0:01:02.251 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test2" ], "delta": "0:00:00.035262", "end": "2022-07-06 15:07:57.017771", "rc": 0, "start": "2022-07-06 15:07:56.982509" } STDOUT: LVM2_LV_NAME=test2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:07:56 +0000 (0:00:00.454) 0:01:02.705 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:07:56 +0000 (0:00:00.053) 0:01:02.759 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:07:56 +0000 (0:00:00.051) 0:01:02.811 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:07:56 +0000 (0:00:00.039) 0:01:02.851 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:07:56 +0000 (0:00:00.039) 0:01:02.890 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.047) 0:01:02.938 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.039) 0:01:02.977 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.034) 0:01:03.011 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.050) 0:01:03.062 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.083) 0:01:03.145 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.042) 0:01:03.188 ******** ok: [/cache/centos-9.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-test3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "cc171106-b129-46dd-a25a-b10235fee50e" } ], "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-test3", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "cc171106-b129-46dd-a25a-b10235fee50e" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.059) 0:01:03.247 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.057) 0:01:03.305 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.056) 0:01:03.361 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.055) 0:01:03.417 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.023) 0:01:03.441 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.026) 0:01:03.467 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.023) 0:01:03.491 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.034) 0:01:03.525 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.065) 0:01:03.591 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.048) 0:01:03.640 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.047) 0:01:03.687 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.036) 0:01:03.724 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.037) 0:01:03.761 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.038) 0:01:03.800 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:07:57 +0000 (0:00:00.038) 0:01:03.839 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657134428.8503861, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657134428.8503861, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 671, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657134428.8503861, "nlink": 1, "path": "/dev/mapper/foo-test3", "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/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:07:58 +0000 (0:00:00.391) 0:01:04.231 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:07:58 +0000 (0:00:00.040) 0:01:04.271 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:07:58 +0000 (0:00:00.078) 0:01:04.349 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:07:58 +0000 (0:00:00.104) 0:01:04.454 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:07:58 +0000 (0:00:00.025) 0:01:04.480 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:07:58 +0000 (0:00:00.040) 0:01:04.521 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:07:58 +0000 (0:00:00.025) 0:01:04.546 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.815) 0:01:05.362 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.025) 0:01:05.387 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.024) 0:01:05.412 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.053) 0:01:05.466 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.026) 0:01:05.492 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.025) 0:01:05.518 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.025) 0:01:05.544 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.023) 0:01:05.568 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.023) 0:01:05.592 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.055) 0:01:05.647 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.051) 0:01:05.699 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.038) 0:01:05.738 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.037) 0:01:05.775 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.041) 0:01:05.817 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.033) 0:01:05.851 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:07:59 +0000 (0:00:00.035) 0:01:05.886 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:08:00 +0000 (0:00:00.035) 0:01:05.921 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:08:00 +0000 (0:00:00.041) 0:01:05.963 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:08:00 +0000 (0:00:00.036) 0:01:05.999 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:08:00 +0000 (0:00:00.039) 0:01:06.039 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:08:00 +0000 (0:00:00.040) 0:01:06.079 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:08:00 +0000 (0:00:00.045) 0:01:06.125 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:08:00 +0000 (0:00:00.379) 0:01:06.504 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:08:01 +0000 (0:00:00.418) 0:01:06.923 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:08:01 +0000 (0:00:00.054) 0:01:06.977 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:08:01 +0000 (0:00:00.074) 0:01:07.051 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:08:01 +0000 (0:00:00.040) 0:01:07.091 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:08:01 +0000 (0:00:00.042) 0:01:07.134 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:08:01 +0000 (0:00:00.037) 0:01:07.172 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:08:01 +0000 (0:00:00.036) 0:01:07.208 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:08:01 +0000 (0:00:00.046) 0:01:07.254 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:08:01 +0000 (0:00:00.096) 0:01:07.350 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:08:01 +0000 (0:00:00.077) 0:01:07.428 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:08:01 +0000 (0:00:00.132) 0:01:07.560 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test3" ], "delta": "0:00:00.034225", "end": "2022-07-06 15:08:02.280182", "rc": 0, "start": "2022-07-06 15:08:02.245957" } STDOUT: LVM2_LV_NAME=test3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.408) 0:01:07.968 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.060) 0:01:08.029 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.055) 0:01:08.085 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.041) 0:01:08.126 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.040) 0:01:08.166 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.045) 0:01:08.212 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.039) 0:01:08.252 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.036) 0:01:08.289 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.039) 0:01:08.328 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.027) 0:01:08.355 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove two of the LVs] *************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:66 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.038) 0:01:08.394 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.061) 0:01:08.455 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 19:08:02 +0000 (0:00:00.038) 0:01:08.493 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.531) 0:01:09.025 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.075) 0:01:09.100 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.037) 0:01:09.138 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.039) 0:01:09.178 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.056) 0:01:09.235 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.022) 0:01:09.257 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.028) 0:01:09.286 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "3g", "state": "absent" }, { "mount_point": "/opt/test3", "name": "test3", "size": "3g", "state": "absent" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.039) 0:01:09.325 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.041) 0:01:09.366 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.031) 0:01:09.398 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.028) 0:01:09.426 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.027) 0:01:09.454 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.067) 0:01:09.522 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.060) 0:01:09.582 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 19:08:03 +0000 (0:00:00.022) 0:01:09.605 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test2", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/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": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test3", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 19:08:06 +0000 (0:00:02.426) 0:01:12.032 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 19:08:06 +0000 (0:00:00.039) 0:01:12.071 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 19:08:06 +0000 (0:00:00.037) 0:01:12.108 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test2", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/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": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test3", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 19:08:06 +0000 (0:00:00.045) 0:01:12.153 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test3", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 19:08:06 +0000 (0:00:00.043) 0:01:12.197 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 19:08:06 +0000 (0:00:00.051) 0:01:12.248 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test3', 'path': '/opt/test3', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/foo-test3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test2" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 19:08:07 +0000 (0:00:00.765) 0:01:13.014 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 19:08:07 +0000 (0:00:00.714) 0:01:13.728 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 19:08:08 +0000 (0:00:00.420) 0:01:14.149 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 19:08:08 +0000 (0:00:00.664) 0:01:14.814 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 19:08:09 +0000 (0:00:00.379) 0:01:15.193 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 19:08:09 +0000 (0:00:00.024) 0:01:15.217 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:86 Wednesday 06 July 2022 19:08:10 +0000 (0:00:00.986) 0:01:16.204 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 19:08:10 +0000 (0:00:00.049) 0:01:16.253 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "/dev/mapper/foo-test2", "_mount_id": "/dev/mapper/foo-test2", "_raw_device": "/dev/mapper/foo-test2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/foo-test3", "_mount_id": "/dev/mapper/foo-test3", "_raw_device": "/dev/mapper/foo-test3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 19:08:10 +0000 (0:00:00.093) 0:01:16.346 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 19:08:10 +0000 (0:00:00.034) 0:01:16.381 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" }, "/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": "Wc1J93-FYKj-Tyax-jx1x-SHUm-1Leq-wsVPdf" }, "/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-06-19-06-39-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 19:08:10 +0000 (0:00:00.382) 0:01:16.764 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003483", "end": "2022-07-06 15:08:11.459365", "rc": 0, "start": "2022-07-06 15:08:11.455882" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /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/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 19:08:11 +0000 (0:00:00.389) 0:01:17.154 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003063", "end": "2022-07-06 15:08:11.847706", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:08:11.844643" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 19:08:11 +0000 (0:00:00.382) 0:01:17.536 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['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-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}, {'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/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 19:08:11 +0000 (0:00:00.072) 0:01:17.608 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 19:08:11 +0000 (0:00:00.036) 0:01:17.645 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 19:08:11 +0000 (0:00:00.050) 0:01:17.695 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 19:08:11 +0000 (0:00:00.055) 0:01:17.751 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.393) 0:01:18.145 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.050) 0:01:18.195 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.053) 0:01:18.249 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.061) 0:01:18.311 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.042) 0:01:18.354 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.055) 0:01:18.409 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.026) 0:01:18.435 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.045) 0:01:18.481 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.042) 0:01:18.523 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.026) 0:01:18.550 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.024) 0:01:18.575 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.029) 0:01:18.604 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.026) 0:01:18.630 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.026) 0:01:18.657 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.062) 0:01:18.719 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.026) 0:01:18.746 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.046) 0:01:18.792 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 19:08:12 +0000 (0:00:00.056) 0:01:18.849 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.065) 0:01:18.915 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.031) 0:01:18.946 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.035) 0:01:18.981 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.030) 0:01:19.012 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.031) 0:01:19.043 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.027) 0:01:19.071 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.030) 0:01:19.102 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.026) 0:01:19.129 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.031) 0:01:19.160 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.029) 0:01:19.189 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.045) 0:01:19.235 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.056) 0:01:19.291 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.023) 0:01:19.314 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.022) 0:01:19.337 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.021) 0:01:19.359 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.024) 0:01:19.383 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.023) 0:01:19.407 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.023) 0:01:19.431 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.022) 0:01:19.453 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.024) 0:01:19.478 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.024) 0:01:19.503 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.025) 0:01:19.528 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.023) 0:01:19.552 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.024) 0:01:19.576 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.050) 0:01:19.626 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.053) 0:01:19.680 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.030) 0:01:19.710 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.047) 0:01:19.758 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 19:08:13 +0000 (0:00:00.099) 0:01:19.857 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.134) 0:01:19.992 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.038) 0:01:20.030 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.037) 0:01:20.068 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.039) 0:01:20.108 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.039) 0:01:20.148 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.033) 0:01:20.181 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.049) 0:01:20.230 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.064) 0:01:20.295 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.023) 0:01:20.318 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.023) 0:01:20.342 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.367 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.393 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.418 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.027) 0:01:20.445 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.471 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.034) 0:01:20.505 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.530 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.026) 0:01:20.557 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.583 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.022) 0:01:20.606 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.632 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.657 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.682 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.043) 0:01:20.726 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.026) 0:01:20.752 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.026) 0:01:20.778 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.803 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.828 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.025) 0:01:20.853 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.026) 0:01:20.880 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:08:14 +0000 (0:00:00.024) 0:01:20.904 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.035) 0:01:20.940 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.044) 0:01:20.985 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test2', '_raw_device': '/dev/mapper/foo-test2', '_mount_id': '/dev/mapper/foo-test2'}) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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-test3', '_raw_device': '/dev/mapper/foo-test3', '_mount_id': '/dev/mapper/foo-test3'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.061) 0:01:21.047 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.052) 0:01:21.099 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.079) 0:01:21.179 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.114) 0:01:21.294 ******** ok: [/cache/centos-9.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": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" } ], "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": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.056) 0:01:21.350 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.051) 0:01:21.402 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.047) 0:01:21.450 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.049) 0:01:21.499 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.022) 0:01:21.522 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.022) 0:01:21.545 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.021) 0:01:21.567 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.033) 0:01:21.600 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.064) 0:01:21.665 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.049) 0:01:21.714 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.050) 0:01:21.765 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.037) 0:01:21.803 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.039) 0:01:21.842 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:08:15 +0000 (0:00:00.040) 0:01:21.882 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:08:16 +0000 (0:00:00.042) 0:01:21.925 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657134429.377386, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657134429.377386, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 738, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657134429.377386, "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/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:08:16 +0000 (0:00:00.397) 0:01:22.322 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:08:16 +0000 (0:00:00.040) 0:01:22.362 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:08:16 +0000 (0:00:00.038) 0:01:22.401 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:08:16 +0000 (0:00:00.035) 0:01:22.437 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:08:16 +0000 (0:00:00.026) 0:01:22.464 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:08:16 +0000 (0:00:00.039) 0:01:22.503 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:08:16 +0000 (0:00:00.024) 0:01:22.527 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.914) 0:01:23.441 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.023) 0:01:23.465 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.023) 0:01:23.489 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.049) 0:01:23.538 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.022) 0:01:23.560 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.025) 0:01:23.586 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.025) 0:01:23.612 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.023) 0:01:23.635 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.022) 0:01:23.657 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.086) 0:01:23.743 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.083) 0:01:23.827 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.038) 0:01:23.865 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:08:17 +0000 (0:00:00.038) 0:01:23.903 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:08:18 +0000 (0:00:00.075) 0:01:23.978 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:08:18 +0000 (0:00:00.035) 0:01:24.014 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:08:18 +0000 (0:00:00.037) 0:01:24.052 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:08:18 +0000 (0:00:00.038) 0:01:24.091 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:08:18 +0000 (0:00:00.037) 0:01:24.128 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:08:18 +0000 (0:00:00.046) 0:01:24.175 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:08:18 +0000 (0:00:00.040) 0:01:24.215 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:08:18 +0000 (0:00:00.039) 0:01:24.254 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:08:18 +0000 (0:00:00.041) 0:01:24.295 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:08:18 +0000 (0:00:00.380) 0:01:24.676 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.390) 0:01:25.066 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.053) 0:01:25.120 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.037) 0:01:25.157 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.038) 0:01:25.196 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.042) 0:01:25.238 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.038) 0:01:25.277 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.037) 0:01:25.314 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.040) 0:01:25.354 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.039) 0:01:25.394 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.037) 0:01:25.432 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.051) 0:01:25.483 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.031157", "end": "2022-07-06 15:08:20.207279", "rc": 0, "start": "2022-07-06 15:08:20.176122" } 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/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:08:19 +0000 (0:00:00.412) 0:01:25.896 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.051) 0:01:25.948 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.054) 0:01:26.003 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.046) 0:01:26.049 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.039) 0:01:26.088 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.041) 0:01:26.130 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.039) 0:01:26.170 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.039) 0:01:26.210 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.093) 0:01:26.303 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.118) 0:01:26.422 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.044) 0:01:26.467 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.058) 0:01:26.525 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.026) 0:01:26.552 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.051) 0:01:26.603 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.038) 0:01:26.641 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.024) 0:01:26.666 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.024) 0:01:26.691 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.024) 0:01:26.716 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.036) 0:01:26.753 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.062) 0:01:26.815 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.025) 0:01:26.840 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:08:20 +0000 (0:00:00.052) 0:01:26.893 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:08:21 +0000 (0:00:00.041) 0:01:26.934 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:08:21 +0000 (0:00:00.035) 0:01:26.970 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:08:21 +0000 (0:00:00.025) 0:01:26.996 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:08:21 +0000 (0:00:00.023) 0:01:27.019 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:08:21 +0000 (0:00:00.395) 0:01:27.414 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:08:21 +0000 (0:00:00.065) 0:01:27.480 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:08:21 +0000 (0:00:00.048) 0:01:27.529 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:08:21 +0000 (0:00:00.077) 0:01:27.607 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:08:21 +0000 (0:00:00.049) 0:01:27.656 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:08:21 +0000 (0:00:00.062) 0:01:27.719 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:08:21 +0000 (0:00:00.032) 0:01:27.751 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:08:22 +0000 (0:00:00.835) 0:01:28.587 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:08:22 +0000 (0:00:00.026) 0:01:28.614 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:08:22 +0000 (0:00:00.023) 0:01:28.637 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:08:22 +0000 (0:00:00.021) 0:01:28.658 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:08:22 +0000 (0:00:00.021) 0:01:28.680 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:08:22 +0000 (0:00:00.021) 0:01:28.702 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:08:22 +0000 (0:00:00.026) 0:01:28.728 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:08:22 +0000 (0:00:00.025) 0:01:28.753 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:08:22 +0000 (0:00:00.024) 0:01:28.778 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:08:22 +0000 (0:00:00.098) 0:01:28.877 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.092) 0:01:28.969 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.039) 0:01:29.008 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.074) 0:01:29.083 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.037) 0:01:29.120 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.034) 0:01:29.154 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.038) 0:01:29.193 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.039) 0:01:29.232 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.036) 0:01:29.269 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.037) 0:01:29.307 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.038) 0:01:29.345 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.040) 0:01:29.386 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.038) 0:01:29.424 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.039) 0:01:29.463 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.042) 0:01:29.505 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.041) 0:01:29.547 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.035) 0:01:29.582 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.034) 0:01:29.617 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.034) 0:01:29.651 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.035) 0:01:29.687 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.034) 0:01:29.721 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.036) 0:01:29.757 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.039) 0:01:29.797 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.041) 0:01:29.838 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.025) 0:01:29.863 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:08:23 +0000 (0:00:00.023) 0:01:29.886 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.022) 0:01:29.909 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.026) 0:01:29.935 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.024) 0:01:29.959 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.025) 0:01:29.985 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.025) 0:01:30.011 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.025) 0:01:30.036 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.033) 0:01:30.070 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.053) 0:01:30.123 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.084) 0:01:30.208 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.046) 0:01:30.254 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.061) 0:01:30.315 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.025) 0:01:30.341 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.060) 0:01:30.402 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.042) 0:01:30.444 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.023) 0:01:30.468 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.022) 0:01:30.491 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.021) 0:01:30.513 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.128) 0:01:30.641 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.071) 0:01:30.712 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.029) 0:01:30.742 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.054) 0:01:30.796 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.035) 0:01:30.832 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.033) 0:01:30.865 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:08:24 +0000 (0:00:00.023) 0:01:30.888 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:08:25 +0000 (0:00:00.025) 0:01:30.914 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:08:25 +0000 (0:00:00.375) 0:01:31.289 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:08:25 +0000 (0:00:00.042) 0:01:31.332 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:08:25 +0000 (0:00:00.025) 0:01:31.358 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:08:25 +0000 (0:00:00.039) 0:01:31.397 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:08:25 +0000 (0:00:00.025) 0:01:31.423 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:08:25 +0000 (0:00:00.025) 0:01:31.449 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:08:25 +0000 (0:00:00.025) 0:01:31.474 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.839) 0:01:32.313 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.026) 0:01:32.340 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.025) 0:01:32.365 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.025) 0:01:32.391 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.024) 0:01:32.415 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.028) 0:01:32.443 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.026) 0:01:32.470 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.025) 0:01:32.495 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.025) 0:01:32.521 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.055) 0:01:32.576 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.049) 0:01:32.626 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.039) 0:01:32.666 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.037) 0:01:32.703 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.040) 0:01:32.743 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.036) 0:01:32.780 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.038) 0:01:32.818 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.038) 0:01:32.857 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:08:26 +0000 (0:00:00.040) 0:01:32.897 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.040) 0:01:32.938 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.038) 0:01:32.976 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.035) 0:01:33.012 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.042) 0:01:33.054 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.027) 0:01:33.082 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.040) 0:01:33.123 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.037) 0:01:33.160 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.077) 0:01:33.238 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.039) 0:01:33.278 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.038) 0:01:33.316 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.098) 0:01:33.414 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.040) 0:01:33.455 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.039) 0:01:33.494 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.040) 0:01:33.535 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.044) 0:01:33.579 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.027) 0:01:33.607 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.023) 0:01:33.631 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.023) 0:01:33.654 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.026) 0:01:33.680 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.025) 0:01:33.706 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.025) 0:01:33.731 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.025) 0:01:33.756 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.026) 0:01:33.782 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.035) 0:01:33.818 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.036) 0:01:33.854 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 19:08:27 +0000 (0:00:00.022) 0:01:33.877 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Re-run the previous role invocation to ensure idempotence] *************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:88 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.039) 0:01:33.916 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.059) 0:01:33.975 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.038) 0:01:34.014 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.523) 0:01:34.537 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.073) 0:01:34.611 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.035) 0:01:34.646 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.036) 0:01:34.683 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.056) 0:01:34.739 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.022) 0:01:34.762 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.027) 0:01:34.790 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" }, { "mount_point": "/opt/test2", "name": "test2", "size": "3g", "state": "absent" }, { "mount_point": "/opt/test3", "name": "test3", "size": "3g", "state": "absent" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.040) 0:01:34.831 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.039) 0:01:34.870 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 19:08:28 +0000 (0:00:00.033) 0:01:34.904 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 19:08:29 +0000 (0:00:00.030) 0:01:34.934 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 19:08:29 +0000 (0:00:00.029) 0:01:34.964 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 19:08:29 +0000 (0:00:00.029) 0:01:34.993 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 19:08:29 +0000 (0:00:00.104) 0:01:35.098 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 19:08:29 +0000 (0:00:00.023) 0:01:35.122 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/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": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "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-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 19:08:30 +0000 (0:00:01.442) 0:01:36.564 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 19:08:30 +0000 (0:00:00.040) 0:01:36.604 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 19:08:30 +0000 (0:00:00.025) 0:01:36.630 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/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": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "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-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 19:08:30 +0000 (0:00:00.043) 0:01:36.673 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 19:08:30 +0000 (0:00:00.041) 0:01:36.715 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 19:08:30 +0000 (0:00:00.037) 0:01:36.752 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 19:08:30 +0000 (0:00:00.037) 0:01:36.790 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 19:08:31 +0000 (0:00:00.701) 0:01:37.492 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "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/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 19:08:31 +0000 (0:00:00.414) 0:01:37.906 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 19:08:32 +0000 (0:00:00.728) 0:01:38.634 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 19:08:33 +0000 (0:00:00.392) 0:01:39.026 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 19:08:33 +0000 (0:00:00.025) 0:01:39.052 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:108 Wednesday 06 July 2022 19:08:35 +0000 (0:00:01.976) 0:01:41.028 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 19:08:35 +0000 (0:00:00.053) 0:01:41.081 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/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 }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test2", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "", "_mount_id": "", "_raw_device": "", "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/test3", "name": "test3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "absent", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 19:08:35 +0000 (0:00:00.141) 0:01:41.223 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 19:08:35 +0000 (0:00:00.038) 0:01:41.261 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" }, "/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": "Wc1J93-FYKj-Tyax-jx1x-SHUm-1Leq-wsVPdf" }, "/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-06-19-06-39-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/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": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/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": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/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/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 19:08:35 +0000 (0:00:00.383) 0:01:41.644 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003204", "end": "2022-07-06 15:08:36.335839", "rc": 0, "start": "2022-07-06 15:08:36.332635" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /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/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 19:08:36 +0000 (0:00:00.380) 0:01:42.025 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002920", "end": "2022-07-06 15:08:36.713806", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:08:36.710886" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 19:08:36 +0000 (0:00:00.377) 0:01:42.402 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml for /cache/centos-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['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-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}, {'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/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 19:08:36 +0000 (0:00:00.062) 0:01:42.465 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 19:08:36 +0000 (0:00:00.035) 0:01:42.501 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml for /cache/centos-9.qcow2.snap => (item=members) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml for /cache/centos-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 19:08:36 +0000 (0:00:00.047) 0:01:42.548 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 19:08:36 +0000 (0:00:00.061) 0:01:42.610 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.380) 0:01:42.990 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.052) 0:01:43.043 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.052) 0:01:43.095 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.052) 0:01:43.148 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.039) 0:01:43.187 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.055) 0:01:43.243 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.028) 0:01:43.272 ******** ok: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.052) 0:01:43.324 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml for /cache/centos-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.047) 0:01:43.371 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.025) 0:01:43.397 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.025) 0:01:43.422 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.026) 0:01:43.448 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.024) 0:01:43.473 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.025) 0:01:43.498 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.025) 0:01:43.524 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.059) 0:01:43.583 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.035) 0:01:43.619 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.045) 0:01:43.664 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.055) 0:01:43.720 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.028) 0:01:43.749 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.030) 0:01:43.780 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.034) 0:01:43.814 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.032) 0:01:43.846 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:08:37 +0000 (0:00:00.030) 0:01:43.877 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.032) 0:01:43.909 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.029) 0:01:43.939 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.029) 0:01:43.968 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.028) 0:01:43.997 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.046) 0:01:44.044 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.056) 0:01:44.101 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.024) 0:01:44.126 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.026) 0:01:44.153 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.025) 0:01:44.178 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.026) 0:01:44.205 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.024) 0:01:44.229 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.024) 0:01:44.253 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.023) 0:01:44.276 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.025) 0:01:44.302 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.024) 0:01:44.327 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.024) 0:01:44.352 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.026) 0:01:44.378 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.026) 0:01:44.404 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml for /cache/centos-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.047) 0:01:44.451 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.055) 0:01:44.506 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.028) 0:01:44.535 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-9.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.043) 0:01:44.579 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.054) 0:01:44.634 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.089) 0:01:44.723 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.036) 0:01:44.760 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.037) 0:01:44.797 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 19:08:38 +0000 (0:00:00.088) 0:01:44.885 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.033) 0:01:44.919 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.033) 0:01:44.953 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml for /cache/centos-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.049) 0:01:45.002 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) included: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.063) 0:01:45.065 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.090 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.116 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.024) 0:01:45.141 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.166 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.192 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.218 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.243 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.040) 0:01:45.283 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.026) 0:01:45.309 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.026) 0:01:45.336 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.362 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.387 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.023) 0:01:45.410 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.024) 0:01:45.435 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.024) 0:01:45.459 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.039) 0:01:45.498 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.524 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.550 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.031) 0:01:45.581 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.031) 0:01:45.613 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.026) 0:01:45.639 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.664 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.025) 0:01:45.690 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.039) 0:01:45.730 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.035) 0:01:45.765 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test2', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'test3', 'raid_level': None, 'size': '3g', 'state': 'absent', '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': '', '_raw_device': '', '_mount_id': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.056) 0:01:45.821 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:08:39 +0000 (0:00:00.054) 0:01:45.875 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.081) 0:01:45.957 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.094) 0:01:46.051 ******** ok: [/cache/centos-9.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": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" } ], "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": "0ce12d49-85c4-4afa-b0b0-75ccc516b91a" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.136) 0:01:46.187 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.053) 0:01:46.241 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.051) 0:01:46.292 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.051) 0:01:46.344 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.024) 0:01:46.368 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.024) 0:01:46.393 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.026) 0:01:46.420 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.036) 0:01:46.456 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.062) 0:01:46.519 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.051) 0:01:46.570 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.049) 0:01:46.620 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.038) 0:01:46.658 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.037) 0:01:46.696 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.042) 0:01:46.738 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:08:40 +0000 (0:00:00.039) 0:01:46.778 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657134429.377386, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657134429.377386, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 738, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657134429.377386, "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/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:08:41 +0000 (0:00:00.383) 0:01:47.162 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:08:41 +0000 (0:00:00.038) 0:01:47.200 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:08:41 +0000 (0:00:00.039) 0:01:47.240 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:08:41 +0000 (0:00:00.035) 0:01:47.275 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:08:41 +0000 (0:00:00.023) 0:01:47.298 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:08:41 +0000 (0:00:00.038) 0:01:47.336 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:08:41 +0000 (0:00:00.023) 0:01:47.360 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.891) 0:01:48.251 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.024) 0:01:48.276 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.023) 0:01:48.299 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.065) 0:01:48.365 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.026) 0:01:48.391 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.025) 0:01:48.416 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.025) 0:01:48.441 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.026) 0:01:48.468 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.026) 0:01:48.495 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.089) 0:01:48.584 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.053) 0:01:48.638 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.037) 0:01:48.675 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.038) 0:01:48.713 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.038) 0:01:48.751 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.093) 0:01:48.845 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:08:42 +0000 (0:00:00.040) 0:01:48.885 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:08:43 +0000 (0:00:00.037) 0:01:48.922 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:08:43 +0000 (0:00:00.037) 0:01:48.960 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:08:43 +0000 (0:00:00.089) 0:01:49.049 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:08:43 +0000 (0:00:00.037) 0:01:49.086 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:08:43 +0000 (0:00:00.035) 0:01:49.122 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:08:43 +0000 (0:00:00.050) 0:01:49.172 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:08:43 +0000 (0:00:00.394) 0:01:49.567 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.399) 0:01:49.967 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.053) 0:01:50.020 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.038) 0:01:50.059 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.039) 0:01:50.099 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.039) 0:01:50.138 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.039) 0:01:50.178 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.037) 0:01:50.216 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.036) 0:01:50.252 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.040) 0:01:50.293 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.040) 0:01:50.334 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.053) 0:01:50.387 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.031552", "end": "2022-07-06 15:08:45.106531", "rc": 0, "start": "2022-07-06 15:08:45.074979" } 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/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.426) 0:01:50.814 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:08:44 +0000 (0:00:00.051) 0:01:50.865 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.055) 0:01:50.921 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.045) 0:01:50.966 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.042) 0:01:51.009 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.040) 0:01:51.049 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.040) 0:01:51.090 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.038) 0:01:51.128 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.053) 0:01:51.181 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.082) 0:01:51.264 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.042) 0:01:51.306 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.092) 0:01:51.399 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.026) 0:01:51.425 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.085) 0:01:51.511 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.037) 0:01:51.549 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.067) 0:01:51.616 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.026) 0:01:51.642 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.025) 0:01:51.668 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.040) 0:01:51.709 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.065) 0:01:51.774 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.025) 0:01:51.800 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.051) 0:01:51.851 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:08:45 +0000 (0:00:00.040) 0:01:51.891 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:08:46 +0000 (0:00:00.039) 0:01:51.931 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:08:46 +0000 (0:00:00.030) 0:01:51.961 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:08:46 +0000 (0:00:00.025) 0:01:51.987 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:08:46 +0000 (0:00:00.407) 0:01:52.394 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:08:46 +0000 (0:00:00.039) 0:01:52.434 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:08:46 +0000 (0:00:00.026) 0:01:52.460 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:08:46 +0000 (0:00:00.037) 0:01:52.498 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:08:46 +0000 (0:00:00.024) 0:01:52.523 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:08:46 +0000 (0:00:00.023) 0:01:52.547 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:08:46 +0000 (0:00:00.026) 0:01:52.573 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.921) 0:01:53.495 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.029) 0:01:53.524 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.026) 0:01:53.550 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.024) 0:01:53.575 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.025) 0:01:53.600 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.026) 0:01:53.626 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.024) 0:01:53.651 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.025) 0:01:53.676 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.025) 0:01:53.701 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.058) 0:01:53.760 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.051) 0:01:53.811 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.038) 0:01:53.850 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:08:47 +0000 (0:00:00.040) 0:01:53.890 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.038) 0:01:53.928 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.034) 0:01:53.963 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.039) 0:01:54.002 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.037) 0:01:54.040 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.034) 0:01:54.075 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.034) 0:01:54.110 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.039) 0:01:54.149 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.038) 0:01:54.188 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.075) 0:01:54.263 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.026) 0:01:54.290 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.037) 0:01:54.328 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.040) 0:01:54.369 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.038) 0:01:54.407 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.039) 0:01:54.446 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.040) 0:01:54.486 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.039) 0:01:54.526 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.039) 0:01:54.565 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.038) 0:01:54.604 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.040) 0:01:54.644 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.041) 0:01:54.686 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.026) 0:01:54.712 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.025) 0:01:54.737 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.026) 0:01:54.764 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.026) 0:01:54.790 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.025) 0:01:54.816 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.023) 0:01:54.840 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.025) 0:01:54.865 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:08:48 +0000 (0:00:00.027) 0:01:54.893 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.035) 0:01:54.928 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.050) 0:01:54.978 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.092) 0:01:55.071 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.047) 0:01:55.119 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.059) 0:01:55.178 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.026) 0:01:55.205 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.055) 0:01:55.260 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.043) 0:01:55.304 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.026) 0:01:55.330 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.024) 0:01:55.354 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.023) 0:01:55.377 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.040) 0:01:55.418 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.060) 0:01:55.479 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.024) 0:01:55.503 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.058) 0:01:55.562 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.048) 0:01:55.610 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.105) 0:01:55.716 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.028) 0:01:55.745 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 19:08:49 +0000 (0:00:00.069) 0:01:55.815 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 19:08:50 +0000 (0:00:00.389) 0:01:56.204 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 19:08:50 +0000 (0:00:00.042) 0:01:56.247 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 19:08:50 +0000 (0:00:00.027) 0:01:56.275 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 19:08:50 +0000 (0:00:00.037) 0:01:56.312 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 19:08:50 +0000 (0:00:00.023) 0:01:56.335 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 19:08:50 +0000 (0:00:00.022) 0:01:56.358 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 19:08:50 +0000 (0:00:00.025) 0:01:56.384 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.848) 0:01:57.232 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.027) 0:01:57.259 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.025) 0:01:57.285 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.024) 0:01:57.309 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.024) 0:01:57.333 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.024) 0:01:57.358 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.023) 0:01:57.382 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.024) 0:01:57.407 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.028) 0:01:57.435 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.053) 0:01:57.489 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.052) 0:01:57.541 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.038) 0:01:57.579 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.041) 0:01:57.621 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.039) 0:01:57.661 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.037) 0:01:57.698 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.046) 0:01:57.745 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.042) 0:01:57.787 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.037) 0:01:57.825 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.037) 0:01:57.862 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 19:08:51 +0000 (0:00:00.039) 0:01:57.902 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.042) 0:01:57.944 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.038) 0:01:57.983 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.030) 0:01:58.013 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.041) 0:01:58.055 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.042) 0:01:58.097 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.038) 0:01:58.136 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.038) 0:01:58.174 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.038) 0:01:58.212 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.040) 0:01:58.253 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.040) 0:01:58.293 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.043) 0:01:58.337 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.107) 0:01:58.444 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.038) 0:01:58.483 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.024) 0:01:58.508 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.025) 0:01:58.533 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.025) 0:01:58.559 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.022) 0:01:58.582 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.026) 0:01:58.608 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.025) 0:01:58.633 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.027) 0:01:58.661 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.024) 0:01:58.685 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.036) 0:01:58.721 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.038) 0:01:58.760 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.025) 0:01:58.786 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:110 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.035) 0:01:58.821 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 19:08:52 +0000 (0:00:00.070) 0:01:58.892 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.037) 0:01:58.929 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.545) 0:01:59.474 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.078) 0:01:59.553 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.038) 0:01:59.592 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.038) 0:01:59.630 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.059) 0:01:59.690 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.021) 0:01:59.711 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.031) 0:01:59.742 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.043) 0:01:59.786 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.039) 0:01:59.825 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.029) 0:01:59.854 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 19:08:53 +0000 (0:00:00.030) 0:01:59.885 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 19:08:54 +0000 (0:00:00.032) 0:01:59.918 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 19:08:54 +0000 (0:00:00.030) 0:01:59.948 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 19:08:54 +0000 (0:00:00.110) 0:02:00.058 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 19:08:54 +0000 (0:00:00.073) 0:02:00.132 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 19:08:56 +0000 (0:00:01.976) 0:02:02.109 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 19:08:56 +0000 (0:00:00.039) 0:02:02.148 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 19:08:56 +0000 (0:00:00.025) 0:02:02.174 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 19:08:56 +0000 (0:00:00.039) 0:02:02.213 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 19:08:56 +0000 (0:00:00.038) 0:02:02.252 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 19:08:56 +0000 (0:00:00.040) 0:02:02.293 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 19:08:56 +0000 (0:00:00.405) 0:02:02.698 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 19:08:57 +0000 (0:00:00.688) 0:02:03.387 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 19:08:57 +0000 (0:00:00.042) 0:02:03.429 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 19:08:58 +0000 (0:00:00.678) 0:02:04.108 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 19:08:58 +0000 (0:00:00.392) 0:02:04.501 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 19:08:58 +0000 (0:00:00.023) 0:02:04.524 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=751 changed=6 unreachable=0 failed=0 skipped=735 rescued=0 ignored=0 Wednesday 06 July 2022 19:08:59 +0000 (0:00:00.950) 0:02:05.475 ******** =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.45s /tmp/tmpq6mp_rlx/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.43s /tmp/tmpq6mp_rlx/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.98s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : Update facts ------------------------ 1.98s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : get service facts ------------------- 1.79s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.74s /tmp/tmpq6mp_rlx/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.44s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : set up new/current mounts ----------- 1.37s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Gathering Facts --------------------------------------------------------- 1.37s /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes_scsi_generated.yml:3 fedora.linux_system_roles.storage : make sure blivet is available ------- 1.32s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : set up new/current mounts ----------- 1.17s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 fedora.linux_system_roles.storage : make sure required packages are installed --- 1.02s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 fedora.linux_system_roles.storage : Update facts ------------------------ 1.01s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.98s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.96s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpaxpydj_h/tests/storage/tests_lvm_one_disk_multiple_volumes.yml:2 ------ fedora.linux_system_roles.storage : Update facts ------------------------ 0.95s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Ensure cryptsetup is present -------------------------------------------- 0.93s /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 -----------