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_swap_scsi_generated.yml **************************************** 2 plays in /tmp/tmpnhy4yzav/tests/tests_swap_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/tests_swap_scsi_generated.yml:3 Wednesday 06 July 2022 16:52:45 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpnhy4yzav/tests/tests_swap_scsi_generated.yml:7 Wednesday 06 July 2022 16:52:47 +0000 (0:00:01.291) 0:00:01.304 ******** 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_swap.yml:2 Wednesday 06 July 2022 16:52:47 +0000 (0:00:00.049) 0:00:01.354 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:10 Wednesday 06 July 2022 16:52:48 +0000 (0:00:00.965) 0:00:02.319 ******** 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 16:52:48 +0000 (0:00:00.035) 0:00:02.355 ******** 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 16:52:48 +0000 (0:00:00.030) 0:00:02.385 ******** 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 16:52:48 +0000 (0:00:00.521) 0:00:02.906 ******** 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 16:52:48 +0000 (0:00:00.064) 0:00:02.971 ******** 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 16:52:48 +0000 (0:00:00.029) 0:00:03.001 ******** 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 16:52:48 +0000 (0:00:00.030) 0:00:03.031 ******** 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 16:52:49 +0000 (0:00:00.047) 0:00:03.079 ******** 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 16:52:49 +0000 (0:00:00.018) 0:00:03.098 ******** 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 16:52:50 +0000 (0:00:01.347) 0:00:04.445 ******** 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 16:52:50 +0000 (0:00:00.035) 0:00:04.480 ******** 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 16:52:50 +0000 (0:00:00.042) 0:00:04.523 ******** 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 16:52:51 +0000 (0:00:00.741) 0:00:05.265 ******** 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 16:52:51 +0000 (0:00:00.046) 0:00:05.311 ******** 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 16:52:51 +0000 (0:00:00.041) 0:00:05.352 ******** 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 16:52:51 +0000 (0:00:00.038) 0:00:05.391 ******** 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 16:52:51 +0000 (0:00:00.032) 0:00:05.424 ******** 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 16:52:52 +0000 (0:00:00.911) 0:00:06.336 ******** 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 16:52:54 +0000 (0:00:01.795) 0:00:08.131 ******** 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 16:52:54 +0000 (0:00:00.113) 0:00:08.244 ******** 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 16:52:54 +0000 (0:00:00.021) 0:00:08.266 ******** 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 16:52:54 +0000 (0:00:00.521) 0:00:08.787 ******** 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 16:52:54 +0000 (0:00:00.036) 0:00:08.823 ******** 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 16:52:54 +0000 (0:00:00.022) 0:00:08.846 ******** 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 16:52:54 +0000 (0:00:00.038) 0:00:08.885 ******** 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 16:52:54 +0000 (0:00:00.038) 0:00:08.923 ******** 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 16:52:54 +0000 (0:00:00.032) 0:00:08.956 ******** 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 16:52:54 +0000 (0:00:00.032) 0:00:08.988 ******** 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 16:52:54 +0000 (0:00:00.021) 0:00:09.010 ******** 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 16:52:54 +0000 (0:00:00.034) 0:00:09.044 ******** 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 16:52:55 +0000 (0:00:00.024) 0:00:09.069 ******** 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 16:52:55 +0000 (0:00:00.509) 0:00:09.578 ******** 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 16:52:55 +0000 (0:00:00.021) 0:00:09.600 ******** 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_swap.yml:13 Wednesday 06 July 2022 16:52:56 +0000 (0:00:00.972) 0:00:10.573 ******** 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_swap.yml:20 Wednesday 06 July 2022 16:52:56 +0000 (0:00:00.032) 0:00:10.605 ******** 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 16:52:56 +0000 (0:00:00.036) 0:00:10.642 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:9 Wednesday 06 July 2022 16:52:57 +0000 (0:00:00.522) 0:00:11.164 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:14 Wednesday 06 July 2022 16:52:57 +0000 (0:00:00.067) 0:00:11.232 ******** 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 16:52:57 +0000 (0:00:00.039) 0:00:11.271 ******** ok: [/cache/centos-9.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a disk device with swap] ****************************************** task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:25 Wednesday 06 July 2022 16:52:57 +0000 (0:00:00.063) 0:00:11.335 ******** 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 16:52:57 +0000 (0:00:00.069) 0:00:11.404 ******** 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 16:52:57 +0000 (0:00:00.036) 0:00:11.440 ******** 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 16:52:57 +0000 (0:00:00.530) 0:00:11.970 ******** 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 16:52:57 +0000 (0:00:00.073) 0:00:12.044 ******** 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 16:52:58 +0000 (0:00:00.033) 0:00:12.077 ******** 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 16:52:58 +0000 (0:00:00.032) 0:00:12.110 ******** 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 16:52:58 +0000 (0:00:00.047) 0:00:12.157 ******** 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 16:52:58 +0000 (0:00:00.021) 0:00:12.178 ******** 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 16:52:58 +0000 (0:00:00.028) 0:00:12.207 ******** 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 16:52:58 +0000 (0:00:00.038) 0:00:12.246 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 16:52:58 +0000 (0:00:00.037) 0:00:12.283 ******** 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 16:52:58 +0000 (0:00:00.028) 0:00:12.312 ******** 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 16:52:58 +0000 (0:00:00.027) 0:00:12.340 ******** 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 16:52:58 +0000 (0:00:00.028) 0:00:12.369 ******** 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 16:52:58 +0000 (0:00:00.027) 0:00:12.396 ******** 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 16:52:58 +0000 (0:00:00.057) 0:00:12.454 ******** 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 16:52:58 +0000 (0:00:00.023) 0:00:12.477 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "state": "present" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 16:52:59 +0000 (0:00:01.437) 0:00:13.914 ******** 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 16:52:59 +0000 (0:00:00.037) 0:00:13.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 16:52:59 +0000 (0:00:00.021) 0:00:13.973 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "state": "present" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 16:52:59 +0000 (0:00:00.048) 0:00:14.022 ******** 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 16:53:00 +0000 (0:00:00.075) 0:00:14.097 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 16:53:00 +0000 (0:00:00.080) 0:00:14.178 ******** 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 16:53:00 +0000 (0:00:00.037) 0:00:14.216 ******** 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 16:53:01 +0000 (0:00:00.986) 0:00:15.202 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=989e0a11-1503-4771-baf4-e046b0305a22', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22" } 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 16:53:01 +0000 (0:00:00.515) 0:00:15.718 ******** 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 16:53:02 +0000 (0:00:00.676) 0:00:16.395 ******** 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 16:53:02 +0000 (0:00:00.377) 0:00:16.772 ******** 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 16:53:02 +0000 (0:00:00.021) 0:00:16.794 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:35 Wednesday 06 July 2022 16:53:03 +0000 (0:00:00.957) 0:00:17.751 ******** 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 16:53:03 +0000 (0:00:00.041) 0:00:17.792 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 16:53:03 +0000 (0:00:00.036) 0:00:17.829 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 16:53:03 +0000 (0:00:00.052) 0:00:17.881 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "989e0a11-1503-4771-baf4-e046b0305a22" }, "/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-16-52-31-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 16:53:04 +0000 (0:00:00.515) 0:00:18.396 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003787", "end": "2022-07-06 12:53:04.296773", "rc": 0, "start": "2022-07-06 12:53:04.292986" } 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 UUID=989e0a11-1503-4771-baf4-e046b0305a22 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 16:53:04 +0000 (0:00:00.518) 0:00:18.915 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003215", "end": "2022-07-06 12:53:04.715532", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:53:04.712317" } 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 16:53:05 +0000 (0:00:00.418) 0:00:19.334 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 16:53:05 +0000 (0:00:00.022) 0:00:19.357 ******** 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 16:53:05 +0000 (0:00:00.066) 0:00:19.423 ******** 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=989e0a11-1503-4771-baf4-e046b0305a22', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:53:05 +0000 (0:00:00.089) 0:00:19.513 ******** 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 16:53:05 +0000 (0:00:00.048) 0:00:19.561 ******** 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 16:53:05 +0000 (0:00:00.079) 0:00:19.641 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:53:05 +0000 (0:00:00.040) 0:00:19.682 ******** 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": "1" }, "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 16:53:05 +0000 (0:00:00.064) 0:00:19.746 ******** 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 16:53:05 +0000 (0:00:00.028) 0:00:19.775 ******** 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 16:53:05 +0000 (0:00:00.061) 0:00:19.837 ******** 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 16:53:05 +0000 (0:00:00.037) 0:00:19.874 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.004566", "end": "2022-07-06 12:53:05.644110", "rc": 0, "start": "2022-07-06 12:53:05.639544" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 16:53:06 +0000 (0:00:00.390) 0:00:20.265 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003546", "end": "2022-07-06 12:53:06.033152", "rc": 0, "start": "2022-07-06 12:53:06.029606" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 16:53:06 +0000 (0:00:00.394) 0:00:20.659 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 16:53:06 +0000 (0:00:00.054) 0:00:20.714 ******** 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 16:53:06 +0000 (0:00:00.034) 0:00:20.749 ******** 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": "0", "storage_test_fstab_id_matches": [ "UUID=989e0a11-1503-4771-baf4-e046b0305a22 " ], "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 16:53:06 +0000 (0:00:00.061) 0:00:20.811 ******** 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 16:53:06 +0000 (0:00:00.049) 0:00:20.860 ******** 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 16:53:06 +0000 (0:00:00.073) 0:00:20.934 ******** 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 16:53:06 +0000 (0:00:00.036) 0:00:20.971 ******** 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 16:53:06 +0000 (0:00:00.031) 0:00:21.002 ******** 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 16:53:06 +0000 (0:00:00.040) 0:00:21.043 ******** 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 16:53:07 +0000 (0:00:00.040) 0:00:21.083 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657126379.207885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657126379.189885, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 339, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657126379.189885, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:53:07 +0000 (0:00:00.388) 0:00:21.471 ******** 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 16:53:07 +0000 (0:00:00.045) 0:00:21.517 ******** 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 16:53:07 +0000 (0:00:00.091) 0:00:21.609 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 16:53:07 +0000 (0:00:00.036) 0:00:21.645 ******** 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 16:53:07 +0000 (0:00:00.025) 0:00:21.670 ******** 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 16:53:07 +0000 (0:00:00.073) 0:00:21.744 ******** 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 16:53:07 +0000 (0:00:00.058) 0:00:21.802 ******** 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 16:53:08 +0000 (0:00:00.898) 0:00:22.701 ******** 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 16:53:08 +0000 (0:00:00.023) 0:00:22.724 ******** 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 16:53:08 +0000 (0:00:00.021) 0:00:22.746 ******** 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 16:53:08 +0000 (0:00:00.050) 0:00:22.797 ******** 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 16:53:08 +0000 (0:00:00.022) 0:00:22.819 ******** 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 16:53:08 +0000 (0:00:00.021) 0:00:22.841 ******** 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 16:53:08 +0000 (0:00:00.022) 0:00:22.863 ******** 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 16:53:08 +0000 (0:00:00.023) 0:00:22.887 ******** 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 16:53:08 +0000 (0:00:00.022) 0:00:22.909 ******** 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 16:53:08 +0000 (0:00:00.048) 0:00:22.958 ******** 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 16:53:08 +0000 (0:00:00.046) 0:00:23.004 ******** 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 16:53:08 +0000 (0:00:00.038) 0:00:23.043 ******** 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 16:53:09 +0000 (0:00:00.034) 0:00:23.078 ******** 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 16:53:09 +0000 (0:00:00.033) 0:00:23.111 ******** 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 16:53:09 +0000 (0:00:00.032) 0:00:23.144 ******** 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 16:53:09 +0000 (0:00:00.037) 0:00:23.181 ******** 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 16:53:09 +0000 (0:00:00.035) 0:00:23.216 ******** 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 16:53:09 +0000 (0:00:00.035) 0:00:23.252 ******** 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 16:53:09 +0000 (0:00:00.035) 0:00:23.288 ******** 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 16:53:09 +0000 (0:00:00.040) 0:00:23.329 ******** 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 16:53:09 +0000 (0:00:00.039) 0:00:23.368 ******** 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 16:53:09 +0000 (0:00:00.037) 0:00:23.406 ******** 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 16:53:09 +0000 (0:00:00.026) 0:00:23.432 ******** 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 16:53:09 +0000 (0:00:00.040) 0:00:23.473 ******** 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 16:53:09 +0000 (0:00:00.037) 0:00:23.511 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 16:53:09 +0000 (0:00:00.036) 0:00:23.548 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:53:09 +0000 (0:00:00.038) 0:00:23.586 ******** 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 16:53:09 +0000 (0:00:00.040) 0:00:23.627 ******** 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 16:53:09 +0000 (0:00:00.037) 0:00:23.664 ******** 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 16:53:09 +0000 (0:00:00.036) 0:00:23.701 ******** 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 16:53:09 +0000 (0:00:00.044) 0:00:23.746 ******** 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 16:53:09 +0000 (0:00:00.043) 0:00:23.789 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 16:53:09 +0000 (0:00:00.039) 0:00:23.828 ******** 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 16:53:09 +0000 (0:00:00.025) 0:00:23.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:14 Wednesday 06 July 2022 16:53:09 +0000 (0:00:00.030) 0:00:23.885 ******** 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 16:53:09 +0000 (0:00:00.026) 0:00:23.912 ******** 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 16:53:09 +0000 (0:00:00.026) 0:00:23.939 ******** 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 16:53:09 +0000 (0:00:00.028) 0:00:23.967 ******** 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 16:53:09 +0000 (0:00:00.025) 0:00:23.993 ******** 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 16:53:09 +0000 (0:00:00.024) 0:00:24.018 ******** 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 16:53:09 +0000 (0:00:00.023) 0:00:24.041 ******** 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:57 Wednesday 06 July 2022 16:53:10 +0000 (0:00:00.076) 0:00:24.118 ******** 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 [Format second disk as ext3] ********************************************** task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:37 Wednesday 06 July 2022 16:53:10 +0000 (0:00:00.072) 0:00:24.190 ******** 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 16:53:10 +0000 (0:00:00.053) 0:00:24.244 ******** 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 16:53:10 +0000 (0:00:00.085) 0:00:24.330 ******** 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 16:53:10 +0000 (0:00:00.534) 0:00:24.864 ******** 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 16:53:10 +0000 (0:00:00.071) 0:00:24.935 ******** 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 16:53:10 +0000 (0:00:00.034) 0:00:24.970 ******** 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 16:53:10 +0000 (0:00:00.033) 0:00:25.003 ******** 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 16:53:11 +0000 (0:00:00.044) 0:00:25.048 ******** 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 16:53:11 +0000 (0:00:00.021) 0:00:25.069 ******** 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 16:53:11 +0000 (0:00:00.027) 0:00:25.096 ******** 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 16:53:11 +0000 (0:00:00.037) 0:00:25.134 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "ext3", "mount_point": "none", "name": "test2", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 16:53:11 +0000 (0:00:00.037) 0:00:25.171 ******** 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 16:53:11 +0000 (0:00:00.029) 0:00:25.201 ******** 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 16:53:11 +0000 (0:00:00.030) 0:00:25.231 ******** 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 16:53:11 +0000 (0:00:00.029) 0:00:25.261 ******** 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 16:53:11 +0000 (0:00:00.028) 0:00:25.290 ******** 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 16:53:11 +0000 (0:00:00.056) 0:00:25.347 ******** 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 16:53:11 +0000 (0:00:00.020) 0:00:25.368 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "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": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6c9190a4-7d4a-428f-bb82-d60dec2ed59b", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 16:53:12 +0000 (0:00:01.629) 0:00:26.997 ******** 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 16:53:12 +0000 (0:00:00.037) 0:00:27.034 ******** 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 16:53:13 +0000 (0:00:00.021) 0:00:27.055 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6c9190a4-7d4a-428f-bb82-d60dec2ed59b", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 16:53:13 +0000 (0:00:00.036) 0:00:27.092 ******** 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 16:53:13 +0000 (0:00:00.038) 0:00:27.130 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6c9190a4-7d4a-428f-bb82-d60dec2ed59b", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 16:53:13 +0000 (0:00:00.040) 0:00:27.171 ******** 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 16:53:13 +0000 (0:00:00.036) 0:00:27.207 ******** 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 16:53:13 +0000 (0:00:00.024) 0:00:27.232 ******** 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 16:53:13 +0000 (0:00:00.035) 0:00:27.267 ******** 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 16:53:13 +0000 (0:00:00.023) 0:00:27.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 [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 16:53:13 +0000 (0:00:00.378) 0:00:27.669 ******** 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 16:53:13 +0000 (0:00:00.021) 0:00:27.691 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:48 Wednesday 06 July 2022 16:53:14 +0000 (0:00:01.014) 0:00:28.705 ******** 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 16:53:14 +0000 (0:00:00.042) 0:00:28.747 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 16:53:14 +0000 (0:00:00.035) 0:00:28.783 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6c9190a4-7d4a-428f-bb82-d60dec2ed59b", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 16:53:14 +0000 (0:00:00.054) 0:00:28.837 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "989e0a11-1503-4771-baf4-e046b0305a22" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6c9190a4-7d4a-428f-bb82-d60dec2ed59b" }, "/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-16-52-31-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 16:53:15 +0000 (0:00:00.378) 0:00:29.216 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003410", "end": "2022-07-06 12:53:14.975139", "rc": 0, "start": "2022-07-06 12:53:14.971729" } 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 UUID=989e0a11-1503-4771-baf4-e046b0305a22 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 16:53:15 +0000 (0:00:00.381) 0:00:29.598 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002910", "end": "2022-07-06 12:53:15.355512", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:53:15.352602" } 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 16:53:15 +0000 (0:00:00.374) 0:00:29.972 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 16:53:15 +0000 (0:00:00.024) 0:00:29.997 ******** 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 16:53:15 +0000 (0:00:00.037) 0:00:30.034 ******** [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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sdb'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=6c9190a4-7d4a-428f-bb82-d60dec2ed59b', '_kernel_device': '/dev/sdb', '_raw_kernel_device': '/dev/sdb'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:53:16 +0000 (0:00:00.064) 0:00:30.099 ******** 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 16:53:16 +0000 (0:00:00.054) 0:00:30.153 ******** 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 16:53:16 +0000 (0:00:00.081) 0:00:30.234 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:53:16 +0000 (0:00:00.043) 0:00:30.278 ******** 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 16:53:16 +0000 (0:00:00.057) 0:00:30.335 ******** 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 16:53:16 +0000 (0:00:00.051) 0:00:30.387 ******** 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 16:53:16 +0000 (0:00:00.050) 0:00:30.437 ******** 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 16:53:16 +0000 (0:00:00.037) 0:00:30.475 ******** 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 16:53:16 +0000 (0:00:00.032) 0:00:30.507 ******** 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 16:53:16 +0000 (0:00:00.027) 0:00:30.535 ******** 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 16:53:16 +0000 (0:00:00.025) 0:00:30.560 ******** 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 16:53:16 +0000 (0:00:00.086) 0:00:30.646 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 16:53:16 +0000 (0:00:00.127) 0:00:30.774 ******** 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 16:53:16 +0000 (0:00:00.050) 0:00:30.824 ******** 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 16:53:16 +0000 (0:00:00.051) 0:00:30.876 ******** 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 16:53:16 +0000 (0:00:00.040) 0:00:30.916 ******** 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 16:53:16 +0000 (0:00:00.044) 0:00:30.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 16:53:16 +0000 (0:00:00.039) 0:00:31.001 ******** 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 16:53:16 +0000 (0:00:00.040) 0:00:31.041 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657126392.332885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657126392.332885, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 337, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657126392.332885, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:53:17 +0000 (0:00:00.385) 0:00:31.427 ******** 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 16:53:17 +0000 (0:00:00.044) 0:00:31.471 ******** 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 16:53:17 +0000 (0:00:00.043) 0:00:31.515 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 16:53:17 +0000 (0:00:00.041) 0:00:31.557 ******** 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 16:53:17 +0000 (0:00:00.024) 0:00:31.581 ******** 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 16:53:17 +0000 (0:00:00.040) 0:00:31.622 ******** 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 16:53:17 +0000 (0:00:00.024) 0:00:31.647 ******** 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 16:53:18 +0000 (0:00:00.859) 0:00:32.507 ******** 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 16:53:18 +0000 (0:00:00.024) 0:00:32.531 ******** 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 16:53:18 +0000 (0:00:00.023) 0:00:32.554 ******** 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 16:53:18 +0000 (0:00:00.056) 0:00:32.611 ******** 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 16:53:18 +0000 (0:00:00.025) 0:00:32.636 ******** 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 16:53:18 +0000 (0:00:00.026) 0:00:32.662 ******** 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 16:53:18 +0000 (0:00:00.024) 0:00:32.687 ******** 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 16:53:18 +0000 (0:00:00.025) 0:00:32.712 ******** 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 16:53:18 +0000 (0:00:00.022) 0:00:32.734 ******** 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 16:53:18 +0000 (0:00:00.053) 0:00:32.787 ******** 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 16:53:18 +0000 (0:00:00.050) 0:00:32.838 ******** 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 16:53:18 +0000 (0:00:00.036) 0:00:32.874 ******** 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 16:53:18 +0000 (0:00:00.037) 0:00:32.912 ******** 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 16:53:18 +0000 (0:00:00.035) 0:00:32.947 ******** 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 16:53:18 +0000 (0:00:00.036) 0:00:32.983 ******** 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 16:53:18 +0000 (0:00:00.036) 0:00:33.020 ******** 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 16:53:19 +0000 (0:00:00.036) 0:00:33.056 ******** 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 16:53:19 +0000 (0:00:00.037) 0:00:33.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 16:53:19 +0000 (0:00:00.037) 0:00:33.130 ******** 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 16:53:19 +0000 (0:00:00.037) 0:00:33.168 ******** 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 16:53:19 +0000 (0:00:00.036) 0:00:33.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 16:53:19 +0000 (0:00:00.072) 0:00:33.277 ******** 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 16:53:19 +0000 (0:00:00.028) 0:00:33.305 ******** 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 16:53:19 +0000 (0:00:00.035) 0:00:33.340 ******** 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 16:53:19 +0000 (0:00:00.035) 0:00:33.376 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 16:53:19 +0000 (0:00:00.032) 0:00:33.409 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:53:19 +0000 (0:00:00.035) 0:00:33.445 ******** 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 16:53:19 +0000 (0:00:00.036) 0:00:33.481 ******** 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 16:53:19 +0000 (0:00:00.038) 0:00:33.520 ******** 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 16:53:19 +0000 (0:00:00.035) 0:00:33.555 ******** 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 16:53:19 +0000 (0:00:00.035) 0:00:33.590 ******** 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 16:53:19 +0000 (0:00:00.036) 0:00:33.627 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 16:53:19 +0000 (0:00:00.040) 0:00:33.667 ******** 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 16:53:19 +0000 (0:00:00.022) 0:00:33.690 ******** 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 16:53:19 +0000 (0:00:00.022) 0:00:33.713 ******** 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 16:53:19 +0000 (0:00:00.022) 0:00:33.735 ******** 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 16:53:19 +0000 (0:00:00.023) 0:00:33.759 ******** 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 16:53:19 +0000 (0:00:00.022) 0:00:33.782 ******** 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 16:53:19 +0000 (0:00:00.022) 0:00:33.805 ******** 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 16:53:19 +0000 (0:00:00.025) 0:00:33.830 ******** 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 16:53:19 +0000 (0:00:00.028) 0:00:33.859 ******** 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:57 Wednesday 06 July 2022 16:53:19 +0000 (0:00:00.033) 0:00:33.892 ******** 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 [Change the disk device file system type to ext3] ************************* task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:50 Wednesday 06 July 2022 16:53:19 +0000 (0:00:00.037) 0:00:33.929 ******** 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 16:53:19 +0000 (0:00:00.058) 0:00:33.987 ******** 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 16:53:19 +0000 (0:00:00.035) 0:00:34.023 ******** 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 16:53:20 +0000 (0:00:00.523) 0:00:34.547 ******** 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 16:53:20 +0000 (0:00:00.072) 0:00:34.620 ******** 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 16:53:20 +0000 (0:00:00.036) 0:00:34.656 ******** 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 16:53:20 +0000 (0:00:00.037) 0:00:34.693 ******** 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 16:53:20 +0000 (0:00:00.048) 0:00:34.742 ******** 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 16:53:20 +0000 (0:00:00.021) 0:00:34.764 ******** 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 16:53:20 +0000 (0:00:00.028) 0:00:34.793 ******** 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 16:53:20 +0000 (0:00:00.107) 0:00:34.900 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 16:53:20 +0000 (0:00:00.036) 0:00:34.937 ******** 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 16:53:20 +0000 (0:00:00.029) 0:00:34.966 ******** 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 16:53:20 +0000 (0:00:00.028) 0:00:34.995 ******** 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 16:53:20 +0000 (0:00:00.028) 0:00:35.024 ******** 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 16:53:21 +0000 (0:00:00.030) 0:00:35.054 ******** 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 16:53:21 +0000 (0:00:00.059) 0:00:35.114 ******** 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 16:53:21 +0000 (0:00:00.024) 0:00:35.138 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 16:53:22 +0000 (0:00:01.554) 0:00:36.693 ******** 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 16:53:22 +0000 (0:00:00.038) 0:00:36.732 ******** 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 16:53:22 +0000 (0:00:00.022) 0:00:36.754 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 16:53:22 +0000 (0:00:00.040) 0:00:36.794 ******** 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 16:53:22 +0000 (0:00:00.036) 0:00:36.831 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 16:53:22 +0000 (0:00:00.038) 0:00:36.869 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=989e0a11-1503-4771-baf4-e046b0305a22', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=989e0a11-1503-4771-baf4-e046b0305a22', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=989e0a11-1503-4771-baf4-e046b0305a22" } 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 16:53:23 +0000 (0:00:00.740) 0:00:37.610 ******** 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 16:53:24 +0000 (0:00:00.657) 0:00:38.267 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e', 'path': '/opt/test', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e" } 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 16:53:24 +0000 (0:00:00.412) 0:00:38.679 ******** 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 16:53:25 +0000 (0:00:00.675) 0:00:39.355 ******** 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 16:53:25 +0000 (0:00:00.374) 0:00:39.730 ******** 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 16:53:25 +0000 (0:00:00.024) 0:00:39.754 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:61 Wednesday 06 July 2022 16:53:26 +0000 (0:00:01.002) 0:00:40.757 ******** 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 16:53:26 +0000 (0:00:00.079) 0:00:40.836 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 16:53:26 +0000 (0:00:00.039) 0:00:40.876 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 16:53:26 +0000 (0:00:00.053) 0:00:40.929 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "62598fb4-c756-44fe-bac2-c1b752fd4f2e" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6c9190a4-7d4a-428f-bb82-d60dec2ed59b" }, "/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-16-52-31-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 16:53:27 +0000 (0:00:00.382) 0:00:41.311 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004132", "end": "2022-07-06 12:53:27.095411", "rc": 0, "start": "2022-07-06 12:53:27.091279" } 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 UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 16:53:27 +0000 (0:00:00.406) 0:00:41.718 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002989", "end": "2022-07-06 12:53:27.481422", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:53:27.478433" } 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 16:53:28 +0000 (0:00:00.381) 0:00:42.100 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 16:53:28 +0000 (0:00:00.024) 0:00:42.124 ******** 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 16:53:28 +0000 (0:00:00.035) 0:00:42.159 ******** [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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:53:28 +0000 (0:00:00.067) 0:00:42.226 ******** 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 16:53:28 +0000 (0:00:00.051) 0:00:42.278 ******** 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 16:53:28 +0000 (0:00:00.073) 0:00:42.352 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:53:28 +0000 (0:00:00.039) 0:00:42.391 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "62598fb4-c756-44fe-bac2-c1b752fd4f2e" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "62598fb4-c756-44fe-bac2-c1b752fd4f2e" } ], "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 16:53:28 +0000 (0:00:00.057) 0:00:42.449 ******** 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 16:53:28 +0000 (0:00:00.050) 0:00:42.499 ******** 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 16:53:28 +0000 (0:00:00.051) 0:00:42.551 ******** 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 16:53:28 +0000 (0:00:00.052) 0:00:42.603 ******** 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 16:53:28 +0000 (0:00:00.025) 0:00:42.629 ******** 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 16:53:28 +0000 (0:00:00.025) 0:00:42.654 ******** 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 16:53:28 +0000 (0:00:00.025) 0:00:42.679 ******** 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 16:53:28 +0000 (0:00:00.037) 0:00:42.717 ******** 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": [ "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 16:53:28 +0000 (0:00:00.103) 0:00:42.821 ******** 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 16:53:28 +0000 (0:00:00.085) 0:00:42.907 ******** 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 16:53:28 +0000 (0:00:00.096) 0:00:43.004 ******** 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 16:53:28 +0000 (0:00:00.034) 0:00:43.038 ******** 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 16:53:29 +0000 (0:00:00.032) 0:00:43.071 ******** 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 16:53:29 +0000 (0:00:00.037) 0:00:43.108 ******** 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 16:53:29 +0000 (0:00:00.040) 0:00:43.149 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657126402.027885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657126402.027885, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 339, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657126402.027885, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:53:29 +0000 (0:00:00.366) 0:00:43.515 ******** 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 16:53:29 +0000 (0:00:00.039) 0:00:43.555 ******** 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 16:53:29 +0000 (0:00:00.040) 0:00:43.596 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 16:53:29 +0000 (0:00:00.035) 0:00:43.631 ******** 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 16:53:29 +0000 (0:00:00.024) 0:00:43.656 ******** 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 16:53:29 +0000 (0:00:00.037) 0:00:43.694 ******** 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 16:53:29 +0000 (0:00:00.022) 0:00:43.716 ******** 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 16:53:30 +0000 (0:00:00.895) 0:00:44.611 ******** 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 16:53:30 +0000 (0:00:00.023) 0:00:44.635 ******** 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 16:53:30 +0000 (0:00:00.021) 0:00:44.657 ******** 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 16:53:30 +0000 (0:00:00.055) 0:00:44.712 ******** 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 16:53:30 +0000 (0:00:00.024) 0:00:44.736 ******** 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 16:53:30 +0000 (0:00:00.024) 0:00:44.761 ******** 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 16:53:30 +0000 (0:00:00.024) 0:00:44.785 ******** 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 16:53:30 +0000 (0:00:00.027) 0:00:44.813 ******** 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 16:53:30 +0000 (0:00:00.024) 0:00:44.838 ******** 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 16:53:30 +0000 (0:00:00.051) 0:00:44.890 ******** 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 16:53:30 +0000 (0:00:00.049) 0:00:44.939 ******** 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 16:53:30 +0000 (0:00:00.040) 0:00:44.980 ******** 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 16:53:30 +0000 (0:00:00.038) 0:00:45.018 ******** 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 16:53:31 +0000 (0:00:00.038) 0:00:45.057 ******** 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 16:53:31 +0000 (0:00:00.069) 0:00:45.127 ******** 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 16:53:31 +0000 (0:00:00.038) 0:00:45.165 ******** 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 16:53:31 +0000 (0:00:00.035) 0:00:45.201 ******** 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 16:53:31 +0000 (0:00:00.036) 0:00:45.238 ******** 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 16:53:31 +0000 (0:00:00.038) 0:00:45.277 ******** 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 16:53:31 +0000 (0:00:00.085) 0:00:45.362 ******** 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 16:53:31 +0000 (0:00:00.038) 0:00:45.400 ******** 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 16:53:31 +0000 (0:00:00.036) 0:00:45.436 ******** 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 16:53:31 +0000 (0:00:00.025) 0:00:45.461 ******** 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 16:53:31 +0000 (0:00:00.038) 0:00:45.500 ******** 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 16:53:31 +0000 (0:00:00.039) 0:00:45.539 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 16:53:31 +0000 (0:00:00.039) 0:00:45.579 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:53:31 +0000 (0:00:00.039) 0:00:45.619 ******** 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 16:53:31 +0000 (0:00:00.038) 0:00:45.657 ******** 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 16:53:31 +0000 (0:00:00.038) 0:00:45.696 ******** 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 16:53:31 +0000 (0:00:00.037) 0:00:45.734 ******** 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 16:53:31 +0000 (0:00:00.036) 0:00:45.771 ******** 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 16:53:31 +0000 (0:00:00.032) 0:00:45.803 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 16:53:31 +0000 (0:00:00.037) 0:00:45.840 ******** 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 16:53:31 +0000 (0:00:00.024) 0:00:45.865 ******** 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 16:53:31 +0000 (0:00:00.028) 0:00:45.893 ******** 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 16:53:31 +0000 (0:00:00.026) 0:00:45.920 ******** 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 16:53:31 +0000 (0:00:00.023) 0:00:45.944 ******** 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 16:53:31 +0000 (0:00:00.024) 0:00:45.968 ******** 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 16:53:31 +0000 (0:00:00.024) 0:00:45.993 ******** 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 16:53:31 +0000 (0:00:00.024) 0:00:46.017 ******** 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 16:53:31 +0000 (0:00:00.022) 0:00:46.040 ******** 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:57 Wednesday 06 July 2022 16:53:32 +0000 (0:00:00.033) 0:00:46.074 ******** 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_swap.yml:63 Wednesday 06 July 2022 16:53:32 +0000 (0:00:00.037) 0:00:46.111 ******** 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 16:53:32 +0000 (0:00:00.064) 0:00:46.176 ******** 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 16:53:32 +0000 (0:00:00.039) 0:00:46.216 ******** 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 16:53:32 +0000 (0:00:00.527) 0:00:46.744 ******** 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 16:53:32 +0000 (0:00:00.076) 0:00:46.820 ******** 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 16:53:32 +0000 (0:00:00.037) 0:00:46.858 ******** 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 16:53:32 +0000 (0:00:00.035) 0:00:46.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 16:53:32 +0000 (0:00:00.050) 0:00:46.943 ******** 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 16:53:32 +0000 (0:00:00.061) 0:00:47.005 ******** 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 16:53:32 +0000 (0:00:00.029) 0:00:47.035 ******** 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 16:53:33 +0000 (0:00:00.037) 0:00:47.072 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 16:53:33 +0000 (0:00:00.038) 0:00:47.110 ******** 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 16:53:33 +0000 (0:00:00.027) 0:00:47.138 ******** 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 16:53:33 +0000 (0:00:00.029) 0:00:47.168 ******** 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 16:53:33 +0000 (0:00:00.029) 0:00:47.197 ******** 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 16:53:33 +0000 (0:00:00.028) 0:00:47.225 ******** 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 16:53:33 +0000 (0:00:00.058) 0:00:47.284 ******** 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 16:53:33 +0000 (0:00:00.020) 0:00:47.304 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 16:53:34 +0000 (0:00:01.155) 0:00:48.460 ******** 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 16:53:34 +0000 (0:00:00.038) 0:00:48.499 ******** 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 16:53:34 +0000 (0:00:00.021) 0:00:48.521 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 16:53:34 +0000 (0:00:00.040) 0:00:48.561 ******** 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 16:53:34 +0000 (0:00:00.035) 0:00:48.597 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 16:53:34 +0000 (0:00:00.038) 0:00:48.636 ******** 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 16:53:34 +0000 (0:00:00.037) 0:00:48.673 ******** 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 16:53:35 +0000 (0:00:00.646) 0:00:49.320 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e', 'path': '/opt/test', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e" } 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 16:53:35 +0000 (0:00:00.416) 0:00:49.737 ******** 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 16:53:36 +0000 (0:00:00.641) 0:00:50.378 ******** 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 16:53:36 +0000 (0:00:00.380) 0:00:50.759 ******** 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 16:53:36 +0000 (0:00:00.023) 0:00:50.783 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:74 Wednesday 06 July 2022 16:53:37 +0000 (0:00:00.939) 0:00:51.722 ******** 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 16:53:37 +0000 (0:00:00.048) 0:00:51.770 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 16:53:37 +0000 (0:00:00.036) 0:00:51.807 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 16:53:37 +0000 (0:00:00.086) 0:00:51.893 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "62598fb4-c756-44fe-bac2-c1b752fd4f2e" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6c9190a4-7d4a-428f-bb82-d60dec2ed59b" }, "/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-16-52-31-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 16:53:38 +0000 (0:00:00.381) 0:00:52.274 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004491", "end": "2022-07-06 12:53:39.040991", "rc": 0, "start": "2022-07-06 12:53:38.036500" } 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 UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 16:53:39 +0000 (0:00:01.386) 0:00:53.660 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002980", "end": "2022-07-06 12:53:39.405033", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:53:39.402053" } 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 16:53:39 +0000 (0:00:00.362) 0:00:54.023 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 16:53:39 +0000 (0:00:00.022) 0:00:54.045 ******** 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 16:53:40 +0000 (0:00:00.038) 0:00:54.084 ******** [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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:53:40 +0000 (0:00:00.095) 0:00:54.180 ******** 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 16:53:40 +0000 (0:00:00.083) 0:00:54.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 16:53:40 +0000 (0:00:00.135) 0:00:54.399 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:53:40 +0000 (0:00:00.061) 0:00:54.460 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "62598fb4-c756-44fe-bac2-c1b752fd4f2e" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "62598fb4-c756-44fe-bac2-c1b752fd4f2e" } ], "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 16:53:40 +0000 (0:00:00.057) 0:00:54.518 ******** 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 16:53:40 +0000 (0:00:00.052) 0:00:54.571 ******** 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 16:53:40 +0000 (0:00:00.047) 0:00:54.618 ******** 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 16:53:40 +0000 (0:00:00.078) 0:00:54.696 ******** 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 16:53:40 +0000 (0:00:00.024) 0:00:54.721 ******** 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 16:53:40 +0000 (0:00:00.022) 0:00:54.743 ******** 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 16:53:40 +0000 (0:00:00.024) 0:00:54.768 ******** 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 16:53:40 +0000 (0:00:00.065) 0:00:54.834 ******** 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": [ "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 16:53:40 +0000 (0:00:00.071) 0:00:54.905 ******** 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 16:53:40 +0000 (0:00:00.089) 0:00:54.995 ******** 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 16:53:41 +0000 (0:00:00.093) 0:00:55.088 ******** 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 16:53:41 +0000 (0:00:00.038) 0:00:55.126 ******** 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 16:53:41 +0000 (0:00:00.068) 0:00:55.195 ******** 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 16:53:41 +0000 (0:00:00.106) 0:00:55.301 ******** 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 16:53:41 +0000 (0:00:00.039) 0:00:55.341 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657126402.027885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657126402.027885, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 339, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657126402.027885, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:53:41 +0000 (0:00:00.397) 0:00:55.738 ******** 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 16:53:41 +0000 (0:00:00.038) 0:00:55.777 ******** 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 16:53:41 +0000 (0:00:00.038) 0:00:55.816 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 16:53:41 +0000 (0:00:00.033) 0:00:55.849 ******** 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 16:53:41 +0000 (0:00:00.023) 0:00:55.873 ******** 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 16:53:41 +0000 (0:00:00.040) 0:00:55.913 ******** 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 16:53:41 +0000 (0:00:00.026) 0:00:55.939 ******** 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 16:53:42 +0000 (0:00:00.829) 0:00:56.769 ******** 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 16:53:42 +0000 (0:00:00.034) 0:00:56.803 ******** 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 16:53:42 +0000 (0:00:00.024) 0:00:56.827 ******** 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 16:53:42 +0000 (0:00:00.055) 0:00:56.883 ******** 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 16:53:42 +0000 (0:00:00.027) 0:00:56.910 ******** 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 16:53:42 +0000 (0:00:00.023) 0:00:56.933 ******** 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 16:53:42 +0000 (0:00:00.022) 0:00:56.956 ******** 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 16:53:42 +0000 (0:00:00.022) 0:00:56.979 ******** 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 16:53:42 +0000 (0:00:00.024) 0:00:57.003 ******** 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 16:53:43 +0000 (0:00:00.051) 0:00:57.054 ******** 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 16:53:43 +0000 (0:00:00.049) 0:00:57.103 ******** 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 16:53:43 +0000 (0:00:00.037) 0:00:57.141 ******** 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 16:53:43 +0000 (0:00:00.037) 0:00:57.179 ******** 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 16:53:43 +0000 (0:00:00.038) 0:00:57.217 ******** 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 16:53:43 +0000 (0:00:00.035) 0:00:57.253 ******** 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 16:53:43 +0000 (0:00:00.037) 0:00:57.290 ******** 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 16:53:43 +0000 (0:00:00.037) 0:00:57.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:21 Wednesday 06 July 2022 16:53:43 +0000 (0:00:00.035) 0:00:57.364 ******** 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 16:53:43 +0000 (0:00:00.035) 0:00:57.400 ******** 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 16:53:43 +0000 (0:00:00.041) 0:00:57.441 ******** 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 16:53:43 +0000 (0:00:00.039) 0:00:57.480 ******** 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 16:53:43 +0000 (0:00:00.038) 0:00:57.519 ******** 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 16:53:43 +0000 (0:00:00.026) 0:00:57.545 ******** 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 16:53:43 +0000 (0:00:00.042) 0:00:57.587 ******** 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 16:53:43 +0000 (0:00:00.084) 0:00:57.672 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 16:53:43 +0000 (0:00:00.036) 0:00:57.709 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:53:43 +0000 (0:00:00.038) 0:00:57.747 ******** 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 16:53:43 +0000 (0:00:00.040) 0:00:57.788 ******** 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 16:53:43 +0000 (0:00:00.037) 0:00:57.825 ******** 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 16:53:43 +0000 (0:00:00.036) 0:00:57.862 ******** 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 16:53:43 +0000 (0:00:00.035) 0:00:57.897 ******** 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 16:53:43 +0000 (0:00:00.037) 0:00:57.935 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 16:53:43 +0000 (0:00:00.033) 0:00:57.968 ******** 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 16:53:43 +0000 (0:00:00.022) 0:00:57.991 ******** 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 16:53:43 +0000 (0:00:00.022) 0:00:58.013 ******** 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 16:53:43 +0000 (0:00:00.024) 0:00:58.037 ******** 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 16:53:44 +0000 (0:00:00.022) 0:00:58.060 ******** 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 16:53:44 +0000 (0:00:00.022) 0:00:58.083 ******** 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 16:53:44 +0000 (0:00:00.022) 0:00:58.105 ******** 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 16:53:44 +0000 (0:00:00.026) 0:00:58.132 ******** 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 16:53:44 +0000 (0:00:00.025) 0:00:58.157 ******** 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:57 Wednesday 06 July 2022 16:53:44 +0000 (0:00:00.034) 0:00:58.191 ******** 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 [Change it back to swap] ************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:76 Wednesday 06 July 2022 16:53:44 +0000 (0:00:00.036) 0:00:58.227 ******** 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 16:53:44 +0000 (0:00:00.063) 0:00:58.291 ******** 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 16:53:44 +0000 (0:00:00.036) 0:00:58.328 ******** 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 16:53:44 +0000 (0:00:00.531) 0:00:58.859 ******** 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 16:53:44 +0000 (0:00:00.068) 0:00:58.928 ******** 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 16:53:44 +0000 (0:00:00.034) 0:00:58.963 ******** 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 16:53:44 +0000 (0:00:00.037) 0:00:59.000 ******** 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 16:53:45 +0000 (0:00:00.047) 0:00:59.047 ******** 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 16:53:45 +0000 (0:00:00.022) 0:00:59.070 ******** 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 16:53:45 +0000 (0:00:00.036) 0:00:59.106 ******** 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 16:53:45 +0000 (0:00:00.091) 0:00:59.198 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 16:53:45 +0000 (0:00:00.118) 0:00:59.316 ******** 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 16:53:45 +0000 (0:00:00.028) 0:00:59.344 ******** 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 16:53:45 +0000 (0:00:00.026) 0:00:59.370 ******** 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 16:53:45 +0000 (0:00:00.028) 0:00:59.399 ******** 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 16:53:45 +0000 (0:00:00.030) 0:00:59.429 ******** 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 16:53:45 +0000 (0:00:00.056) 0:00:59.486 ******** 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 16:53:45 +0000 (0:00:00.023) 0:00:59.509 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 16:53:47 +0000 (0:00:01.587) 0:01:01.097 ******** 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 16:53:47 +0000 (0:00:00.039) 0:01:01.136 ******** 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 16:53:47 +0000 (0:00:00.022) 0:01:01.159 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 16:53:47 +0000 (0:00:00.041) 0:01:01.200 ******** 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 16:53:47 +0000 (0:00:00.039) 0:01:01.240 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 16:53:47 +0000 (0:00:00.042) 0:01:01.282 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e', 'path': '/opt/test', 'state': 'absent', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=62598fb4-c756-44fe-bac2-c1b752fd4f2e" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'path': '/opt/test', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 16:53:48 +0000 (0:00:00.770) 0:01:02.052 ******** 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 16:53:48 +0000 (0:00:00.677) 0:01:02.730 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679" } 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 16:53:49 +0000 (0:00:00.401) 0:01:03.132 ******** 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 16:53:49 +0000 (0:00:00.675) 0:01:03.807 ******** 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 16:53:50 +0000 (0:00:00.367) 0:01:04.175 ******** 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 16:53:50 +0000 (0:00:00.022) 0:01:04.197 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:86 Wednesday 06 July 2022 16:53:51 +0000 (0:00:00.957) 0:01:05.155 ******** 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 16:53:51 +0000 (0:00:00.051) 0:01:05.206 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 16:53:51 +0000 (0:00:00.103) 0:01:05.310 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 16:53:51 +0000 (0:00:00.053) 0:01:05.364 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "a954fb12-b169-48cb-b5f6-0cff7fa11679" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6c9190a4-7d4a-428f-bb82-d60dec2ed59b" }, "/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-16-52-31-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 16:53:51 +0000 (0:00:00.391) 0:01:05.756 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003131", "end": "2022-07-06 12:53:51.506638", "rc": 0, "start": "2022-07-06 12:53:51.503507" } 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 UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 16:53:52 +0000 (0:00:00.371) 0:01:06.127 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003040", "end": "2022-07-06 12:53:51.895005", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:53:51.891965" } 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 16:53:52 +0000 (0:00:00.395) 0:01:06.522 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 16:53:52 +0000 (0:00:00.024) 0:01:06.546 ******** 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 16:53:52 +0000 (0:00:00.033) 0:01:06.580 ******** [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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:53:52 +0000 (0:00:00.062) 0:01:06.642 ******** 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 16:53:52 +0000 (0:00:00.049) 0:01:06.692 ******** 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 16:53:52 +0000 (0:00:00.073) 0:01:06.765 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:53:52 +0000 (0:00:00.041) 0:01:06.807 ******** 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": "1" }, "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 16:53:52 +0000 (0:00:00.053) 0:01:06.861 ******** 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 16:53:52 +0000 (0:00:00.026) 0:01:06.887 ******** 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 16:53:52 +0000 (0:00:00.052) 0:01:06.940 ******** 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 16:53:52 +0000 (0:00:00.034) 0:01:06.974 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.003022", "end": "2022-07-06 12:53:52.735023", "rc": 0, "start": "2022-07-06 12:53:52.732001" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 16:53:53 +0000 (0:00:00.381) 0:01:07.355 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002919", "end": "2022-07-06 12:53:53.126972", "rc": 0, "start": "2022-07-06 12:53:53.124053" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 16:53:53 +0000 (0:00:00.388) 0:01:07.744 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 16:53:53 +0000 (0:00:00.079) 0:01:07.824 ******** 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 16:53:53 +0000 (0:00:00.065) 0:01:07.889 ******** 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": "0", "storage_test_fstab_id_matches": [ "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679 " ], "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 16:53:53 +0000 (0:00:00.095) 0:01:07.985 ******** 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 16:53:54 +0000 (0:00:00.122) 0:01:08.107 ******** 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 16:53:54 +0000 (0:00:00.053) 0:01:08.161 ******** 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 16:53:54 +0000 (0:00:00.037) 0:01:08.198 ******** 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 16:53:54 +0000 (0:00:00.037) 0:01:08.235 ******** 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 16:53:54 +0000 (0:00:00.048) 0:01:08.284 ******** 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 16:53:54 +0000 (0:00:00.047) 0:01:08.332 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657126426.424885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657126426.404885, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 339, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657126426.404885, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:53:54 +0000 (0:00:00.383) 0:01:08.715 ******** 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 16:53:54 +0000 (0:00:00.040) 0:01:08.755 ******** 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 16:53:54 +0000 (0:00:00.039) 0:01:08.795 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 16:53:54 +0000 (0:00:00.036) 0:01:08.831 ******** 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 16:53:54 +0000 (0:00:00.024) 0:01:08.856 ******** 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 16:53:54 +0000 (0:00:00.043) 0:01:08.899 ******** 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 16:53:54 +0000 (0:00:00.026) 0:01:08.926 ******** 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 16:53:55 +0000 (0:00:00.915) 0:01:09.842 ******** 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 16:53:55 +0000 (0:00:00.025) 0:01:09.867 ******** 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 16:53:55 +0000 (0:00:00.023) 0:01:09.890 ******** 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 16:53:55 +0000 (0:00:00.049) 0:01:09.940 ******** 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 16:53:55 +0000 (0:00:00.025) 0:01:09.965 ******** 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 16:53:55 +0000 (0:00:00.024) 0:01:09.990 ******** 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 16:53:55 +0000 (0:00:00.024) 0:01:10.014 ******** 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 16:53:55 +0000 (0:00:00.025) 0:01:10.039 ******** 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 16:53:56 +0000 (0:00:00.024) 0:01:10.064 ******** 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 16:53:56 +0000 (0:00:00.051) 0:01:10.115 ******** 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 16:53:56 +0000 (0:00:00.048) 0:01:10.164 ******** 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 16:53:56 +0000 (0:00:00.038) 0:01:10.202 ******** 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 16:53:56 +0000 (0:00:00.036) 0:01:10.238 ******** 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 16:53:56 +0000 (0:00:00.037) 0:01:10.275 ******** 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 16:53:56 +0000 (0:00:00.034) 0:01:10.310 ******** 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 16:53:56 +0000 (0:00:00.036) 0:01:10.346 ******** 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 16:53:56 +0000 (0:00:00.038) 0:01:10.385 ******** 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 16:53:56 +0000 (0:00:00.041) 0:01:10.426 ******** 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 16:53:56 +0000 (0:00:00.037) 0:01:10.464 ******** 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 16:53:56 +0000 (0:00:00.035) 0:01:10.500 ******** 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 16:53:56 +0000 (0:00:00.038) 0:01:10.538 ******** 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 16:53:56 +0000 (0:00:00.040) 0:01:10.579 ******** 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 16:53:56 +0000 (0:00:00.059) 0:01:10.639 ******** 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 16:53:56 +0000 (0:00:00.036) 0:01:10.675 ******** 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 16:53:56 +0000 (0:00:00.035) 0:01:10.711 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 16:53:56 +0000 (0:00:00.037) 0:01:10.748 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:53:56 +0000 (0:00:00.039) 0:01:10.788 ******** 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 16:53:56 +0000 (0:00:00.035) 0:01:10.823 ******** 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 16:53:56 +0000 (0:00:00.035) 0:01:10.858 ******** 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 16:53:56 +0000 (0:00:00.036) 0:01:10.894 ******** 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 16:53:56 +0000 (0:00:00.039) 0:01:10.933 ******** 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 16:53:56 +0000 (0:00:00.034) 0:01:10.967 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 16:53:56 +0000 (0:00:00.035) 0:01:11.003 ******** 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 16:53:56 +0000 (0:00:00.023) 0:01:11.026 ******** 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 16:53:57 +0000 (0:00:00.024) 0:01:11.050 ******** 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 16:53:57 +0000 (0:00:00.026) 0:01:11.076 ******** 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 16:53:57 +0000 (0:00:00.024) 0:01:11.101 ******** 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 16:53:57 +0000 (0:00:00.023) 0:01:11.124 ******** 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 16:53:57 +0000 (0:00:00.023) 0:01:11.148 ******** 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 16:53:57 +0000 (0:00:00.022) 0:01:11.171 ******** 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 16:53:57 +0000 (0:00:00.023) 0:01:11.194 ******** 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:57 Wednesday 06 July 2022 16:53:57 +0000 (0:00:00.034) 0:01:11.228 ******** 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_swap.yml:88 Wednesday 06 July 2022 16:53:57 +0000 (0:00:00.036) 0:01:11.265 ******** 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 16:53:57 +0000 (0:00:00.078) 0:01:11.344 ******** 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 16:53:57 +0000 (0:00:00.038) 0:01:11.382 ******** 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 16:53:57 +0000 (0:00:00.557) 0:01:11.940 ******** 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 16:53:57 +0000 (0:00:00.076) 0:01:12.016 ******** 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 16:53:58 +0000 (0:00:00.033) 0:01:12.050 ******** 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 16:53:58 +0000 (0:00:00.036) 0:01:12.086 ******** 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 16:53:58 +0000 (0:00:00.049) 0:01:12.136 ******** 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 16:53:58 +0000 (0:00:00.022) 0:01:12.158 ******** 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 16:53:58 +0000 (0:00:00.030) 0:01:12.188 ******** 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 16:53:58 +0000 (0:00:00.089) 0:01:12.278 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 16:53:58 +0000 (0:00:00.042) 0:01:12.321 ******** 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 16:53:58 +0000 (0:00:00.029) 0:01:12.351 ******** 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 16:53:58 +0000 (0:00:00.030) 0:01:12.381 ******** 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 16:53:58 +0000 (0:00:00.077) 0:01:12.459 ******** 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 16:53:58 +0000 (0:00:00.028) 0:01:12.487 ******** 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 16:53:58 +0000 (0:00:00.056) 0:01:12.543 ******** 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 16:53:58 +0000 (0:00:00.020) 0:01:12.564 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "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": "swap", "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "present" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 16:53:59 +0000 (0:00:01.235) 0:01:13.799 ******** 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 16:53:59 +0000 (0:00:00.035) 0:01:13.835 ******** 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 16:53:59 +0000 (0:00:00.020) 0:01:13.856 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "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": "swap", "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "present" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 16:53:59 +0000 (0:00:00.037) 0:01:13.894 ******** 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 16:53:59 +0000 (0:00:00.035) 0:01:13.929 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 16:53:59 +0000 (0:00:00.033) 0:01:13.963 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679" } 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 16:54:00 +0000 (0:00:00.409) 0:01:14.372 ******** 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 16:54:00 +0000 (0:00:00.662) 0:01:15.034 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679" } 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 16:54:01 +0000 (0:00:00.421) 0:01:15.456 ******** 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 16:54:02 +0000 (0:00:00.685) 0:01:16.141 ******** 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 16:54:02 +0000 (0:00:00.414) 0:01:16.556 ******** 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 16:54:02 +0000 (0:00:00.023) 0:01:16.580 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:98 Wednesday 06 July 2022 16:54:03 +0000 (0:00:00.930) 0:01:17.510 ******** 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 16:54:03 +0000 (0:00:00.056) 0:01:17.567 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 16:54:03 +0000 (0:00:00.042) 0:01:17.610 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 16:54:03 +0000 (0:00:00.085) 0:01:17.696 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "a954fb12-b169-48cb-b5f6-0cff7fa11679" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6c9190a4-7d4a-428f-bb82-d60dec2ed59b" }, "/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-16-52-31-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 16:54:04 +0000 (0:00:00.425) 0:01:18.121 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003504", "end": "2022-07-06 12:54:03.889719", "rc": 0, "start": "2022-07-06 12:54:03.886215" } 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 UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 16:54:04 +0000 (0:00:00.397) 0:01:18.519 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003076", "end": "2022-07-06 12:54:04.297235", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:54:04.294159" } 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 16:54:04 +0000 (0:00:00.397) 0:01:18.917 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 16:54:04 +0000 (0:00:00.024) 0:01:18.942 ******** 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 16:54:04 +0000 (0:00:00.038) 0:01:18.980 ******** [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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:54:04 +0000 (0:00:00.063) 0:01:19.044 ******** 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 16:54:05 +0000 (0:00:00.050) 0:01:19.094 ******** 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 16:54:05 +0000 (0:00:00.074) 0:01:19.169 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:54:05 +0000 (0:00:00.041) 0:01:19.211 ******** 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": "1" }, "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 16:54:05 +0000 (0:00:00.057) 0:01:19.268 ******** 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 16:54:05 +0000 (0:00:00.025) 0:01:19.293 ******** 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 16:54:05 +0000 (0:00:00.048) 0:01:19.342 ******** 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 16:54:05 +0000 (0:00:00.035) 0:01:19.378 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002862", "end": "2022-07-06 12:54:05.142583", "rc": 0, "start": "2022-07-06 12:54:05.139721" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 16:54:05 +0000 (0:00:00.383) 0:01:19.761 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003048", "end": "2022-07-06 12:54:05.513091", "rc": 0, "start": "2022-07-06 12:54:05.510043" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 16:54:06 +0000 (0:00:00.372) 0:01:20.133 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 16:54:06 +0000 (0:00:00.051) 0:01:20.185 ******** 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 16:54:06 +0000 (0:00:00.037) 0:01:20.223 ******** 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": "0", "storage_test_fstab_id_matches": [ "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679 " ], "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 16:54:06 +0000 (0:00:00.109) 0:01:20.333 ******** 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 16:54:06 +0000 (0:00:00.096) 0:01:20.429 ******** 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 16:54:06 +0000 (0:00:00.091) 0:01:20.521 ******** 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 16:54:06 +0000 (0:00:00.038) 0:01:20.559 ******** 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 16:54:06 +0000 (0:00:00.129) 0:01:20.688 ******** 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 16:54:06 +0000 (0:00:00.038) 0:01:20.727 ******** 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 16:54:06 +0000 (0:00:00.042) 0:01:20.769 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657126426.424885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657126426.404885, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 339, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657126426.404885, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:54:07 +0000 (0:00:00.410) 0:01:21.180 ******** 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 16:54:07 +0000 (0:00:00.038) 0:01:21.219 ******** 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 16:54:07 +0000 (0:00:00.042) 0:01:21.261 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 16:54:07 +0000 (0:00:00.039) 0:01:21.300 ******** 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 16:54:07 +0000 (0:00:00.026) 0:01:21.327 ******** 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 16:54:07 +0000 (0:00:00.038) 0:01:21.366 ******** 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 16:54:07 +0000 (0:00:00.023) 0:01:21.389 ******** 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 16:54:08 +0000 (0:00:00.899) 0:01:22.289 ******** 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 16:54:08 +0000 (0:00:00.025) 0:01:22.314 ******** 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 16:54:08 +0000 (0:00:00.022) 0:01:22.337 ******** 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 16:54:08 +0000 (0:00:00.050) 0:01:22.387 ******** 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 16:54:08 +0000 (0:00:00.025) 0:01:22.413 ******** 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 16:54:08 +0000 (0:00:00.025) 0:01:22.439 ******** 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 16:54:08 +0000 (0:00:00.025) 0:01:22.464 ******** 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 16:54:08 +0000 (0:00:00.024) 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/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 16:54:08 +0000 (0:00:00.024) 0:01:22.514 ******** 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 16:54:08 +0000 (0:00:00.054) 0:01:22.569 ******** 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 16:54:08 +0000 (0:00:00.050) 0:01:22.619 ******** 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 16:54:08 +0000 (0:00:00.036) 0:01:22.655 ******** 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 16:54:08 +0000 (0:00:00.036) 0:01:22.692 ******** 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 16:54:08 +0000 (0:00:00.037) 0:01:22.730 ******** 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 16:54:08 +0000 (0:00:00.035) 0:01:22.766 ******** 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 16:54:08 +0000 (0:00:00.042) 0:01:22.808 ******** 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 16:54:08 +0000 (0:00:00.038) 0:01:22.847 ******** 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 16:54:08 +0000 (0:00:00.036) 0:01:22.884 ******** 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 16:54:08 +0000 (0:00:00.035) 0:01:22.920 ******** 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 16:54:08 +0000 (0:00:00.035) 0:01:22.955 ******** 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 16:54:08 +0000 (0:00:00.039) 0:01:22.995 ******** 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 16:54:08 +0000 (0:00:00.038) 0:01:23.033 ******** 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 16:54:09 +0000 (0:00:00.025) 0:01:23.059 ******** 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 16:54:09 +0000 (0:00:00.050) 0:01:23.110 ******** 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 16:54:09 +0000 (0:00:00.039) 0:01:23.149 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 16:54:09 +0000 (0:00:00.035) 0:01:23.185 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:54:09 +0000 (0:00:00.035) 0:01:23.220 ******** 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 16:54:09 +0000 (0:00:00.037) 0:01:23.258 ******** 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 16:54:09 +0000 (0:00:00.074) 0:01:23.332 ******** 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 16:54:09 +0000 (0:00:00.037) 0:01:23.369 ******** 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 16:54:09 +0000 (0:00:00.036) 0:01:23.405 ******** 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 16:54:09 +0000 (0:00:00.036) 0:01:23.442 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 16:54:09 +0000 (0:00:00.039) 0:01:23.481 ******** 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 16:54:09 +0000 (0:00:00.024) 0:01:23.506 ******** 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 16:54:09 +0000 (0:00:00.023) 0:01:23.529 ******** 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 16:54:09 +0000 (0:00:00.022) 0:01:23.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-cache.yml:22 Wednesday 06 July 2022 16:54:09 +0000 (0:00:00.037) 0:01:23.590 ******** 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 16:54:09 +0000 (0:00:00.030) 0:01:23.620 ******** 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 16:54:09 +0000 (0:00:00.025) 0:01:23.646 ******** 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 16:54:09 +0000 (0:00:00.023) 0:01:23.669 ******** 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 16:54:09 +0000 (0:00:00.025) 0:01:23.694 ******** 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:57 Wednesday 06 July 2022 16:54:09 +0000 (0:00:00.036) 0:01:23.730 ******** 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_swap.yml:100 Wednesday 06 July 2022 16:54:09 +0000 (0:00:00.034) 0:01:23.765 ******** 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 16:54:09 +0000 (0:00:00.080) 0:01:23.846 ******** 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 16:54:09 +0000 (0:00:00.036) 0:01:23.882 ******** 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 16:54:10 +0000 (0:00:00.527) 0:01:24.410 ******** 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 16:54:10 +0000 (0:00:00.074) 0:01:24.484 ******** 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 16:54:10 +0000 (0:00:00.036) 0:01:24.520 ******** 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 16:54:10 +0000 (0:00:00.035) 0:01:24.556 ******** 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 16:54:10 +0000 (0:00:00.047) 0:01:24.603 ******** 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 16:54:10 +0000 (0:00:00.024) 0:01:24.628 ******** 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 16:54:10 +0000 (0:00:00.030) 0:01:24.658 ******** 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 16:54:10 +0000 (0:00:00.038) 0:01:24.697 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "mount_point": "/opt/test", "name": "test1", "state": "absent", "type": "disk" }, { "disks": [ "sdb" ], "mount_point": "none", "name": "test2", "state": "absent", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 16:54:10 +0000 (0:00:00.043) 0:01:24.740 ******** 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 16:54:10 +0000 (0:00:00.029) 0:01:24.770 ******** 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 16:54:10 +0000 (0:00:00.027) 0:01:24.798 ******** 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 16:54:10 +0000 (0:00:00.029) 0:01:24.827 ******** 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 16:54:10 +0000 (0:00:00.029) 0:01:24.857 ******** 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 16:54:10 +0000 (0:00:00.146) 0:01:25.004 ******** 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 16:54:10 +0000 (0:00:00.024) 0:01:25.029 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=6c9190a4-7d4a-428f-bb82-d60dec2ed59b", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 16:54:12 +0000 (0:00:01.489) 0:01:26.518 ******** 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 16:54:12 +0000 (0:00:00.041) 0:01:26.560 ******** 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 16:54:12 +0000 (0:00:00.022) 0:01:26.583 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=6c9190a4-7d4a-428f-bb82-d60dec2ed59b", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 16:54:12 +0000 (0:00:00.040) 0:01:26.623 ******** 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 16:54:12 +0000 (0:00:00.034) 0:01:26.658 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=6c9190a4-7d4a-428f-bb82-d60dec2ed59b", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 16:54:12 +0000 (0:00:00.036) 0:01:26.694 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679" } 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 16:54:13 +0000 (0:00:00.390) 0:01:27.085 ******** 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 16:54:13 +0000 (0:00:00.681) 0:01:27.766 ******** 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 16:54:13 +0000 (0:00:00.039) 0:01:27.806 ******** 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 16:54:14 +0000 (0:00:00.690) 0:01:28.496 ******** 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 16:54:14 +0000 (0:00:00.392) 0:01:28.888 ******** 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 16:54:14 +0000 (0:00:00.022) 0:01:28.911 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_swap.yml:116 Wednesday 06 July 2022 16:54:15 +0000 (0:00:00.970) 0:01:29.881 ******** 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 16:54:15 +0000 (0:00:00.056) 0:01:29.938 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 16:54:15 +0000 (0:00:00.037) 0:01:29.975 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=6c9190a4-7d4a-428f-bb82-d60dec2ed59b", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 16:54:16 +0000 (0:00:00.104) 0:01:30.079 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-16-52-31-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 16:54:16 +0000 (0:00:00.391) 0:01:30.471 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003822", "end": "2022-07-06 12:54:16.270747", "rc": 0, "start": "2022-07-06 12:54:16.266925" } 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 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 16:54:16 +0000 (0:00:00.421) 0:01:30.893 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004266", "end": "2022-07-06 12:54:17.648774", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:54:16.644508" } 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 16:54:18 +0000 (0:00:01.381) 0:01:32.274 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 16:54:18 +0000 (0:00:00.023) 0:01:32.298 ******** 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 16:54:18 +0000 (0:00:00.035) 0:01:32.334 ******** [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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=a954fb12-b169-48cb-b5f6-0cff7fa11679'}) 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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sdb'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=6c9190a4-7d4a-428f-bb82-d60dec2ed59b'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 16:54:18 +0000 (0:00:00.066) 0:01:32.400 ******** 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 16:54:18 +0000 (0:00:00.048) 0:01:32.449 ******** 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 16:54:18 +0000 (0:00:00.073) 0:01:32.522 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:54:18 +0000 (0:00:00.037) 0:01:32.559 ******** 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 16:54:18 +0000 (0:00:00.053) 0:01:32.613 ******** 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 16:54:18 +0000 (0:00:00.024) 0:01:32.638 ******** 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 16:54:18 +0000 (0:00:00.061) 0:01:32.699 ******** 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 16:54:18 +0000 (0:00:00.036) 0:01:32.736 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.003210", "end": "2022-07-06 12:54:18.502011", "rc": 0, "start": "2022-07-06 12:54:18.498801" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 16:54:19 +0000 (0:00:00.384) 0:01:33.121 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003308", "end": "2022-07-06 12:54:18.880719", "rc": 0, "start": "2022-07-06 12:54:18.877411" } STDOUT: Filename Type Size Used Priority TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 16:54:19 +0000 (0:00:00.379) 0:01:33.500 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 16:54:19 +0000 (0:00:00.060) 0:01:33.561 ******** 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 16:54:19 +0000 (0:00:00.039) 0:01:33.600 ******** 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 16:54:19 +0000 (0:00:00.066) 0:01:33.667 ******** 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 16:54:19 +0000 (0:00:00.026) 0:01:33.693 ******** 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 16:54:19 +0000 (0:00:00.055) 0:01:33.749 ******** 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 16:54:19 +0000 (0:00:00.040) 0:01:33.789 ******** 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 16:54:19 +0000 (0:00:00.038) 0:01:33.828 ******** 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 16:54:19 +0000 (0:00:00.023) 0:01:33.851 ******** 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 16:54:19 +0000 (0:00:00.025) 0:01:33.877 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657126451.822885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657126451.822885, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 339, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657126451.822885, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:54:20 +0000 (0:00:00.391) 0:01:34.268 ******** 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 16:54:20 +0000 (0:00:00.040) 0:01:34.308 ******** 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 16:54:20 +0000 (0:00:00.024) 0:01:34.333 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 16:54:20 +0000 (0:00:00.081) 0:01:34.415 ******** 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 16:54:20 +0000 (0:00:00.026) 0:01:34.441 ******** 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 16:54:20 +0000 (0:00:00.024) 0:01:34.466 ******** 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 16:54:20 +0000 (0:00:00.023) 0:01:34.490 ******** 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 16:54:21 +0000 (0:00:00.947) 0:01:35.437 ******** 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 16:54:21 +0000 (0:00:00.024) 0:01:35.462 ******** 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 16:54:21 +0000 (0:00:00.024) 0:01:35.487 ******** 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 16:54:21 +0000 (0:00:00.022) 0:01:35.510 ******** 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 16:54:21 +0000 (0:00:00.023) 0:01:35.533 ******** 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 16:54:21 +0000 (0:00:00.025) 0:01:35.559 ******** 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 16:54:21 +0000 (0:00:00.025) 0:01:35.584 ******** 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 16:54:21 +0000 (0:00:00.024) 0:01:35.609 ******** 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 16:54:21 +0000 (0:00:00.023) 0:01:35.632 ******** 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 16:54:21 +0000 (0:00:00.053) 0:01:35.685 ******** 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 16:54:21 +0000 (0:00:00.047) 0:01:35.733 ******** 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 16:54:21 +0000 (0:00:00.037) 0:01:35.770 ******** 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 16:54:21 +0000 (0:00:00.035) 0:01:35.806 ******** 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 16:54:21 +0000 (0:00:00.041) 0:01:35.847 ******** 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 16:54:21 +0000 (0:00:00.035) 0:01:35.882 ******** 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 16:54:21 +0000 (0:00:00.036) 0:01:35.919 ******** 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 16:54:21 +0000 (0:00:00.042) 0:01:35.962 ******** 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 16:54:21 +0000 (0:00:00.040) 0:01:36.002 ******** 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 16:54:21 +0000 (0:00:00.038) 0:01:36.041 ******** 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 16:54:22 +0000 (0:00:00.038) 0:01:36.080 ******** 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 16:54:22 +0000 (0:00:00.042) 0:01:36.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/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 16:54:22 +0000 (0:00:00.043) 0:01:36.165 ******** 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 16:54:22 +0000 (0:00:00.025) 0:01:36.191 ******** 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 16:54:22 +0000 (0:00:00.041) 0:01:36.232 ******** 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 16:54:22 +0000 (0:00:00.039) 0:01:36.272 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 16:54:22 +0000 (0:00:00.040) 0:01:36.312 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:54:22 +0000 (0:00:00.038) 0:01:36.351 ******** 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 16:54:22 +0000 (0:00:00.035) 0:01:36.387 ******** 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 16:54:22 +0000 (0:00:00.038) 0:01:36.425 ******** 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 16:54:22 +0000 (0:00:00.042) 0:01:36.468 ******** 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 16:54:22 +0000 (0:00:00.043) 0:01:36.511 ******** 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 16:54:22 +0000 (0:00:00.042) 0:01:36.553 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 16:54:22 +0000 (0:00:00.039) 0:01:36.593 ******** 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 16:54:22 +0000 (0:00:00.024) 0:01:36.617 ******** 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 16:54:22 +0000 (0:00:00.025) 0:01:36.643 ******** 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 16:54:22 +0000 (0:00:00.025) 0:01:36.668 ******** 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 16:54:22 +0000 (0:00:00.029) 0:01:36.698 ******** 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 16:54:22 +0000 (0:00:00.033) 0:01:36.731 ******** 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 16:54:22 +0000 (0:00:00.025) 0:01:36.756 ******** 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 16:54:22 +0000 (0:00:00.027) 0:01:36.784 ******** 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 16:54:22 +0000 (0:00:00.025) 0:01:36.809 ******** 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 16:54:22 +0000 (0:00:00.036) 0:01:36.846 ******** 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 16:54:22 +0000 (0:00:00.093) 0:01:36.939 ******** 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 16:54:22 +0000 (0:00:00.075) 0:01:37.015 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 16:54:23 +0000 (0:00:00.135) 0:01:37.150 ******** 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 16:54:23 +0000 (0:00:00.058) 0:01:37.209 ******** 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 16:54:23 +0000 (0:00:00.025) 0:01:37.234 ******** 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 16:54:23 +0000 (0:00:00.051) 0:01:37.285 ******** 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 16:54:23 +0000 (0:00:00.040) 0:01:37.326 ******** 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 16:54:23 +0000 (0:00:00.025) 0:01:37.352 ******** 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 16:54:23 +0000 (0:00:00.024) 0:01:37.376 ******** 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 16:54:23 +0000 (0:00:00.024) 0:01:37.400 ******** 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 16:54:23 +0000 (0:00:00.038) 0:01:37.439 ******** 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 16:54:23 +0000 (0:00:00.062) 0:01:37.501 ******** 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 16:54:23 +0000 (0:00:00.023) 0:01:37.525 ******** 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 16:54:23 +0000 (0:00:00.050) 0:01:37.576 ******** 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 16:54:23 +0000 (0:00:00.038) 0:01:37.614 ******** 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 16:54:23 +0000 (0:00:00.037) 0:01:37.651 ******** 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 16:54:23 +0000 (0:00:00.025) 0:01:37.677 ******** 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 16:54:23 +0000 (0:00:00.026) 0:01:37.703 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657126451.770885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657126451.770885, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 337, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657126451.770885, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 16:54:24 +0000 (0:00:00.387) 0:01:38.090 ******** 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 16:54:24 +0000 (0:00:00.040) 0:01:38.131 ******** 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 16:54:24 +0000 (0:00:00.025) 0:01:38.156 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 16:54:24 +0000 (0:00:00.035) 0:01:38.192 ******** 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 16:54:24 +0000 (0:00:00.023) 0:01:38.216 ******** 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 16:54:24 +0000 (0:00:00.021) 0:01:38.238 ******** 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 16:54:24 +0000 (0:00:00.025) 0:01:38.264 ******** 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 16:54:25 +0000 (0:00:00.812) 0:01:39.076 ******** 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 16:54:25 +0000 (0:00:00.023) 0:01:39.100 ******** 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 16:54:25 +0000 (0:00:00.025) 0:01:39.125 ******** 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 16:54:25 +0000 (0:00:00.023) 0:01:39.149 ******** 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 16:54:25 +0000 (0:00:00.025) 0:01:39.174 ******** 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 16:54:25 +0000 (0:00:00.026) 0:01:39.201 ******** 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 16:54:25 +0000 (0:00:00.025) 0:01:39.227 ******** 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 16:54:25 +0000 (0:00:00.024) 0:01:39.251 ******** 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 16:54:25 +0000 (0:00:00.025) 0:01:39.277 ******** 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 16:54:25 +0000 (0:00:00.090) 0:01:39.367 ******** 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 16:54:25 +0000 (0:00:00.084) 0:01:39.452 ******** 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 16:54:25 +0000 (0:00:00.037) 0:01:39.490 ******** 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 16:54:25 +0000 (0:00:00.065) 0:01:39.556 ******** 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 16:54:25 +0000 (0:00:00.035) 0:01:39.591 ******** 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 16:54:25 +0000 (0:00:00.032) 0:01:39.624 ******** 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 16:54:25 +0000 (0:00:00.034) 0:01:39.659 ******** 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 16:54:25 +0000 (0:00:00.039) 0:01:39.698 ******** 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 16:54:25 +0000 (0:00:00.039) 0:01:39.737 ******** 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 16:54:25 +0000 (0:00:00.035) 0:01:39.773 ******** 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 16:54:25 +0000 (0:00:00.034) 0:01:39.808 ******** 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 16:54:25 +0000 (0:00:00.035) 0:01:39.843 ******** 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 16:54:25 +0000 (0:00:00.035) 0:01:39.879 ******** 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 16:54:25 +0000 (0:00:00.023) 0:01:39.902 ******** 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 16:54:25 +0000 (0:00:00.034) 0:01:39.937 ******** 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 16:54:25 +0000 (0:00:00.035) 0:01:39.972 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 16:54:25 +0000 (0:00:00.033) 0:01:40.006 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 16:54:25 +0000 (0:00:00.035) 0:01:40.041 ******** 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 16:54:26 +0000 (0:00:00.036) 0:01:40.078 ******** 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 16:54:26 +0000 (0:00:00.040) 0:01:40.119 ******** 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 16:54:26 +0000 (0:00:00.037) 0:01:40.156 ******** 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 16:54:26 +0000 (0:00:00.036) 0:01:40.193 ******** 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 16:54:26 +0000 (0:00:00.036) 0:01:40.229 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 16:54:26 +0000 (0:00:00.039) 0:01:40.268 ******** 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 16:54:26 +0000 (0:00:00.027) 0:01:40.296 ******** 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 16:54:26 +0000 (0:00:00.026) 0:01:40.322 ******** 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 16:54:26 +0000 (0:00:00.025) 0:01:40.348 ******** 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 16:54:26 +0000 (0:00:00.027) 0:01:40.375 ******** 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 16:54:26 +0000 (0:00:00.024) 0:01:40.400 ******** 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 16:54:26 +0000 (0:00:00.025) 0:01:40.425 ******** 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 16:54:26 +0000 (0:00:00.024) 0:01:40.450 ******** 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 16:54:26 +0000 (0:00:00.024) 0:01:40.474 ******** 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:57 Wednesday 06 July 2022 16:54:26 +0000 (0:00:00.032) 0:01:40.507 ******** 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 } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=480 changed=21 unreachable=0 failed=0 skipped=427 rescued=0 ignored=0 Wednesday 06 July 2022 16:54:26 +0000 (0:00:00.044) 0:01:40.551 ******** =============================================================================== linux-system-roles.storage : get service facts -------------------------- 1.80s /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.63s /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.59s /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.55s /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.49s /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.44s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 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.35s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Gathering Facts --------------------------------------------------------- 1.29s /tmp/tmpnhy4yzav/tests/tests_swap_scsi_generated.yml:3 ------------------------ linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.24s /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.16s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : Update facts ------------------------------- 1.01s /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 : tell systemd to refresh its view of /etc/fstab --- 0.99s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : Update facts ------------------------------- 0.97s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.97s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmpnhy4yzav/tests/tests_swap.yml:2 --------------------------------------- linux-system-roles.storage : Update facts ------------------------------- 0.96s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.96s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/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_swap_scsi_generated.yml **************************************** 2 plays in /tmp/tmpaxpydj_h/tests/storage/tests_swap_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_swap_scsi_generated.yml:3 Wednesday 06 July 2022 20:21:10 +0000 (0:00:00.017) 0:00:00.017 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_swap_scsi_generated.yml:7 Wednesday 06 July 2022 20:21:11 +0000 (0:00:01.313) 0:00:01.330 ******** 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_swap.yml:2 Wednesday 06 July 2022 20:21:11 +0000 (0:00:00.050) 0:00:01.381 ******** 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_swap.yml:10 Wednesday 06 July 2022 20:21:12 +0000 (0:00:00.953) 0:00:02.334 ******** 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 20:21:12 +0000 (0:00:00.038) 0:00:02.373 ******** 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 20:21:12 +0000 (0:00:00.031) 0:00:02.404 ******** 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 20:21:13 +0000 (0:00:00.513) 0:00:02.918 ******** 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 20:21:13 +0000 (0:00:00.066) 0:00:02.984 ******** 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 20:21:13 +0000 (0:00:00.032) 0:00:03.016 ******** 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 20:21:13 +0000 (0:00:00.032) 0:00:03.048 ******** 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 20:21:13 +0000 (0:00:00.053) 0:00:03.102 ******** 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 20:21:13 +0000 (0:00:00.017) 0:00:03.120 ******** 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 20:21:15 +0000 (0:00:01.323) 0:00:04.443 ******** 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 20:21:15 +0000 (0:00:00.060) 0:00:04.504 ******** 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 20:21:15 +0000 (0:00:00.041) 0:00:04.546 ******** 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 20:21:15 +0000 (0:00:00.744) 0:00:05.291 ******** 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 20:21:15 +0000 (0:00:00.044) 0:00:05.336 ******** 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 20:21:15 +0000 (0:00:00.033) 0:00:05.369 ******** 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 20:21:15 +0000 (0:00:00.038) 0:00:05.407 ******** 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 20:21:16 +0000 (0:00:00.031) 0:00:05.439 ******** 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 20:21:16 +0000 (0:00:00.856) 0:00:06.295 ******** 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 20:21:18 +0000 (0:00:01.749) 0:00:08.045 ******** 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 20:21:18 +0000 (0:00:00.057) 0:00:08.102 ******** 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 20:21:18 +0000 (0:00:00.022) 0:00:08.125 ******** 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 20:21:19 +0000 (0:00:00.550) 0:00:08.675 ******** 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 20:21:19 +0000 (0:00:00.038) 0:00:08.714 ******** 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 20:21:19 +0000 (0:00:00.024) 0:00:08.738 ******** 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 20:21:19 +0000 (0:00:00.039) 0:00:08.778 ******** 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 20:21:19 +0000 (0:00:00.039) 0:00:08.817 ******** 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 20:21:19 +0000 (0:00:00.038) 0:00:08.856 ******** 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 20:21:19 +0000 (0:00:00.038) 0:00:08.894 ******** 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 20:21:19 +0000 (0:00:00.024) 0:00:08.918 ******** 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 20:21:19 +0000 (0:00:00.033) 0:00:08.952 ******** 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 20:21:19 +0000 (0:00:00.024) 0:00:08.976 ******** 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 20:21:20 +0000 (0:00:00.506) 0:00:09.483 ******** 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 20:21:20 +0000 (0:00:00.023) 0:00:09.507 ******** 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_swap.yml:13 Wednesday 06 July 2022 20:21:21 +0000 (0:00:00.974) 0:00:10.481 ******** 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_swap.yml:20 Wednesday 06 July 2022 20:21:21 +0000 (0:00:00.036) 0:00:10.518 ******** 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 20:21:21 +0000 (0:00:00.038) 0:00:10.557 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:9 Wednesday 06 July 2022 20:21:21 +0000 (0:00:00.525) 0:00:11.083 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:14 Wednesday 06 July 2022 20:21:21 +0000 (0:00:00.037) 0:00:11.120 ******** 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 20:21:21 +0000 (0:00:00.039) 0:00:11.159 ******** ok: [/cache/centos-9.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a disk device with swap] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_swap.yml:25 Wednesday 06 July 2022 20:21:21 +0000 (0:00:00.070) 0:00:11.230 ******** 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 20:21:21 +0000 (0:00:00.045) 0:00:11.275 ******** 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 20:21:21 +0000 (0:00:00.065) 0:00:11.341 ******** 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 20:21:22 +0000 (0:00:00.531) 0:00:11.872 ******** 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 20:21:22 +0000 (0:00:00.077) 0:00:11.949 ******** 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 20:21:22 +0000 (0:00:00.037) 0:00:11.987 ******** 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 20:21:22 +0000 (0:00:00.039) 0:00:12.027 ******** 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 20:21:22 +0000 (0:00:00.055) 0:00:12.082 ******** 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 20:21:22 +0000 (0:00:00.020) 0:00:12.103 ******** 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 20:21:22 +0000 (0:00:00.030) 0:00:12.134 ******** 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 20:21:22 +0000 (0:00:00.037) 0:00:12.171 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 20:21:22 +0000 (0:00:00.040) 0:00:12.211 ******** 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 20:21:22 +0000 (0:00:00.029) 0:00:12.241 ******** 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 20:21:22 +0000 (0:00:00.030) 0:00:12.271 ******** 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 20:21:22 +0000 (0:00:00.030) 0:00:12.302 ******** 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 20:21:22 +0000 (0:00:00.031) 0:00:12.333 ******** 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 20:21:22 +0000 (0:00:00.065) 0:00:12.398 ******** 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 20:21:23 +0000 (0:00:00.024) 0:00:12.422 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "state": "present" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 20:21:24 +0000 (0:00:01.409) 0:00:13.832 ******** 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 20:21:24 +0000 (0:00:00.038) 0:00:13.870 ******** 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 20:21:24 +0000 (0:00:00.022) 0:00:13.893 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "state": "present" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 20:21:24 +0000 (0:00:00.070) 0:00:13.963 ******** 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 20:21:24 +0000 (0:00:00.038) 0:00:14.001 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 20:21:24 +0000 (0:00:00.035) 0:00:14.037 ******** 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 20:21:24 +0000 (0:00:00.036) 0:00:14.073 ******** 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 20:21:25 +0000 (0:00:00.936) 0:00:15.010 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=cc295ea4-a933-4bbe-a892-1531116f2210', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210" } 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 20:21:26 +0000 (0:00:00.520) 0:00:15.531 ******** 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 20:21:26 +0000 (0:00:00.694) 0:00:16.225 ******** 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 20:21:27 +0000 (0:00:00.376) 0:00:16.602 ******** 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 20:21:27 +0000 (0:00:00.024) 0:00:16.626 ******** 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_swap.yml:35 Wednesday 06 July 2022 20:21:28 +0000 (0:00:00.962) 0:00:17.589 ******** 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 20:21:28 +0000 (0:00:00.042) 0:00:17.631 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 20:21:28 +0000 (0:00:00.038) 0:00:17.669 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 20:21:28 +0000 (0:00:00.050) 0:00:17.719 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "cc295ea4-a933-4bbe-a892-1531116f2210" }, "/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-20-20-56-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 20:21:28 +0000 (0:00:00.500) 0:00:18.220 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002836", "end": "2022-07-06 16:21:29.233073", "rc": 0, "start": "2022-07-06 16:21:29.230237" } 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 UUID=cc295ea4-a933-4bbe-a892-1531116f2210 none swap 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 20:21:29 +0000 (0:00:00.498) 0:00:18.719 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003419", "end": "2022-07-06 16:21:29.617149", "failed_when_result": false, "rc": 0, "start": "2022-07-06 16:21:29.613730" } 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 20:21:29 +0000 (0:00:00.385) 0:00:19.104 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 20:21:29 +0000 (0:00:00.020) 0:00:19.125 ******** 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 20:21:29 +0000 (0:00:00.064) 0:00:19.189 ******** 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=cc295ea4-a933-4bbe-a892-1531116f2210', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 20:21:29 +0000 (0:00:00.059) 0:00:19.249 ******** 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 20:21:29 +0000 (0:00:00.079) 0:00:19.328 ******** 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 20:21:30 +0000 (0:00:00.108) 0:00:19.436 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 20:21:30 +0000 (0:00:00.045) 0:00:19.482 ******** 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": "1" }, "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 20:21:30 +0000 (0:00:00.064) 0:00:19.546 ******** 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 20:21:30 +0000 (0:00:00.025) 0:00:19.572 ******** 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 20:21:30 +0000 (0:00:00.051) 0:00:19.623 ******** 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 20:21:30 +0000 (0:00:00.037) 0:00:19.660 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.003510", "end": "2022-07-06 16:21:30.555812", "rc": 0, "start": "2022-07-06 16:21:30.552302" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 20:21:30 +0000 (0:00:00.381) 0:00:20.042 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002796", "end": "2022-07-06 16:21:30.927090", "rc": 0, "start": "2022-07-06 16:21:30.924294" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 20:21:31 +0000 (0:00:00.370) 0:00:20.412 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 20:21:31 +0000 (0:00:00.053) 0:00:20.466 ******** 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 20:21:31 +0000 (0:00:00.036) 0:00:20.502 ******** 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": "0", "storage_test_fstab_id_matches": [ "UUID=cc295ea4-a933-4bbe-a892-1531116f2210 " ], "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 20:21:31 +0000 (0:00:00.059) 0:00:20.561 ******** 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 20:21:31 +0000 (0:00:00.046) 0:00:20.608 ******** 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 20:21:31 +0000 (0:00:00.052) 0:00:20.660 ******** 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 20:21:31 +0000 (0:00:00.040) 0:00:20.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/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 20:21:31 +0000 (0:00:00.033) 0:00:20.734 ******** 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 20:21:31 +0000 (0:00:00.040) 0:00:20.775 ******** 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 20:21:31 +0000 (0:00:00.040) 0:00:20.816 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657138884.2999759, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657138884.2809758, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 344, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657138884.2809758, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 20:21:31 +0000 (0:00:00.384) 0:00:21.200 ******** 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 20:21:31 +0000 (0:00:00.036) 0:00:21.236 ******** 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 20:21:31 +0000 (0:00:00.035) 0:00:21.272 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 20:21:31 +0000 (0:00:00.036) 0:00:21.309 ******** 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 20:21:31 +0000 (0:00:00.026) 0:00:21.335 ******** 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 20:21:32 +0000 (0:00:00.079) 0:00:21.415 ******** 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 20:21:32 +0000 (0:00:00.026) 0:00:21.441 ******** 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 20:21:33 +0000 (0:00:00.977) 0:00:22.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/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 20:21:33 +0000 (0:00:00.023) 0:00:22.442 ******** 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 20:21:33 +0000 (0:00:00.022) 0:00:22.464 ******** 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 20:21:33 +0000 (0:00:00.052) 0:00:22.517 ******** 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 20:21:33 +0000 (0:00:00.025) 0:00:22.542 ******** 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 20:21:33 +0000 (0:00:00.023) 0:00:22.566 ******** 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 20:21:33 +0000 (0:00:00.023) 0:00:22.590 ******** 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 20:21:33 +0000 (0:00:00.025) 0:00:22.615 ******** 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 20:21:33 +0000 (0:00:00.025) 0:00:22.640 ******** 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 20:21:33 +0000 (0:00:00.050) 0:00:22.691 ******** 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 20:21:33 +0000 (0:00:00.048) 0:00:22.739 ******** 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 20:21:33 +0000 (0:00:00.036) 0:00:22.776 ******** 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 20:21:33 +0000 (0:00:00.032) 0:00:22.809 ******** 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 20:21:33 +0000 (0:00:00.033) 0:00:22.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/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 20:21:33 +0000 (0:00:00.032) 0:00:22.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-md.yml:13 Wednesday 06 July 2022 20:21:33 +0000 (0:00:00.037) 0:00:22.912 ******** 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 20:21:33 +0000 (0:00:00.037) 0:00:22.950 ******** 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 20:21:33 +0000 (0:00:00.037) 0:00:22.988 ******** 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 20:21:33 +0000 (0:00:00.037) 0:00:23.025 ******** 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 20:21:33 +0000 (0:00:00.039) 0:00:23.065 ******** 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 20:21:33 +0000 (0:00:00.038) 0:00:23.103 ******** 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 20:21:33 +0000 (0:00:00.038) 0:00:23.141 ******** 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 20:21:33 +0000 (0:00:00.023) 0:00:23.165 ******** 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 20:21:33 +0000 (0:00:00.039) 0:00:23.204 ******** 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 20:21:33 +0000 (0:00:00.037) 0:00:23.242 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 20:21:33 +0000 (0:00:00.035) 0:00:23.278 ******** 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 20:21:33 +0000 (0:00:00.037) 0:00:23.316 ******** 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 20:21:33 +0000 (0:00:00.039) 0:00:23.356 ******** 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 20:21:33 +0000 (0:00:00.034) 0:00:23.391 ******** 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 20:21:34 +0000 (0:00:00.042) 0:00:23.433 ******** 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 20:21:34 +0000 (0:00:00.040) 0:00:23.473 ******** 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 20:21:34 +0000 (0:00:00.039) 0:00:23.513 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 20:21:34 +0000 (0:00:00.037) 0:00:23.551 ******** 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 20:21:34 +0000 (0:00:00.026) 0:00:23.577 ******** 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 20:21:34 +0000 (0:00:00.025) 0:00:23.602 ******** 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 20:21:34 +0000 (0:00:00.024) 0:00:23.626 ******** 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 20:21:34 +0000 (0:00:00.025) 0:00:23.652 ******** 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 20:21:34 +0000 (0:00:00.025) 0:00:23.678 ******** 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 20:21:34 +0000 (0:00:00.024) 0:00:23.702 ******** 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 20:21:34 +0000 (0:00:00.061) 0:00:23.764 ******** 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 20:21:34 +0000 (0:00:00.025) 0:00:23.789 ******** 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:57 Wednesday 06 July 2022 20:21:34 +0000 (0:00:00.034) 0:00:23.823 ******** 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 [Format second disk as ext3] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_swap.yml:37 Wednesday 06 July 2022 20:21:34 +0000 (0:00:00.032) 0:00:23.856 ******** 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 20:21:34 +0000 (0:00:00.050) 0:00:23.907 ******** 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 20:21:34 +0000 (0:00:00.035) 0:00:23.943 ******** 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 20:21:35 +0000 (0:00:00.542) 0:00:24.485 ******** 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 20:21:35 +0000 (0:00:00.072) 0:00:24.557 ******** 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 20:21:35 +0000 (0:00:00.037) 0:00:24.595 ******** 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 20:21:35 +0000 (0:00:00.036) 0:00:24.632 ******** 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 20:21:35 +0000 (0:00:00.058) 0:00:24.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 20:21:35 +0000 (0:00:00.021) 0:00:24.712 ******** 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 20:21:35 +0000 (0:00:00.030) 0:00:24.742 ******** 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 20:21:35 +0000 (0:00:00.037) 0:00:24.780 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "ext3", "mount_point": "none", "name": "test2", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 20:21:35 +0000 (0:00:00.039) 0:00:24.820 ******** 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 20:21:35 +0000 (0:00:00.027) 0:00:24.848 ******** 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 20:21:35 +0000 (0:00:00.028) 0:00:24.876 ******** 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 20:21:35 +0000 (0:00:00.027) 0:00:24.903 ******** 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 20:21:35 +0000 (0:00:00.029) 0:00:24.933 ******** 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 20:21:35 +0000 (0:00:00.061) 0:00:24.994 ******** 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 20:21:35 +0000 (0:00:00.024) 0:00:25.019 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "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": [], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=1f60076c-a72e-41e9-8dc8-d77c01e75198", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 20:21:37 +0000 (0:00:01.520) 0:00:26.540 ******** 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 20:21:37 +0000 (0:00:00.036) 0:00:26.577 ******** 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 20:21:37 +0000 (0:00:00.022) 0:00:26.600 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=1f60076c-a72e-41e9-8dc8-d77c01e75198", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 20:21:37 +0000 (0:00:00.041) 0:00:26.641 ******** 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 20:21:37 +0000 (0:00:00.039) 0:00:26.681 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=1f60076c-a72e-41e9-8dc8-d77c01e75198", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 20:21:37 +0000 (0:00:00.037) 0:00:26.718 ******** 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 20:21:37 +0000 (0:00:00.042) 0:00:26.761 ******** 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 20:21:37 +0000 (0:00:00.029) 0:00:26.790 ******** 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 20:21:37 +0000 (0:00:00.045) 0:00:26.835 ******** 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 20:21:37 +0000 (0:00:00.026) 0:00:26.862 ******** 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 20:21:37 +0000 (0:00:00.383) 0:00:27.245 ******** 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 20:21:37 +0000 (0:00:00.025) 0:00:27.271 ******** 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_swap.yml:48 Wednesday 06 July 2022 20:21:38 +0000 (0:00:00.933) 0:00:28.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 20:21:38 +0000 (0:00:00.047) 0:00:28.251 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 20:21:38 +0000 (0:00:00.037) 0:00:28.289 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=1f60076c-a72e-41e9-8dc8-d77c01e75198", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 20:21:38 +0000 (0:00:00.051) 0:00:28.341 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "cc295ea4-a933-4bbe-a892-1531116f2210" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "1f60076c-a72e-41e9-8dc8-d77c01e75198" }, "/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-20-20-56-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 20:21:39 +0000 (0:00:00.377) 0:00:28.718 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.005085", "end": "2022-07-06 16:21:40.606414", "rc": 0, "start": "2022-07-06 16:21:39.601329" } 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 UUID=cc295ea4-a933-4bbe-a892-1531116f2210 none swap 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 20:21:40 +0000 (0:00:01.395) 0:00:30.114 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003169", "end": "2022-07-06 16:21:41.068075", "failed_when_result": false, "rc": 0, "start": "2022-07-06 16:21:41.064906" } 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 20:21:41 +0000 (0:00:00.439) 0:00:30.553 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 20:21:41 +0000 (0:00:00.023) 0:00:30.576 ******** 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 20:21:41 +0000 (0:00:00.108) 0:00:30.685 ******** [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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sdb'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=1f60076c-a72e-41e9-8dc8-d77c01e75198', '_kernel_device': '/dev/sdb', '_raw_kernel_device': '/dev/sdb'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 20:21:41 +0000 (0:00:00.057) 0:00:30.743 ******** 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 20:21:41 +0000 (0:00:00.051) 0:00:30.794 ******** 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 20:21:41 +0000 (0:00:00.080) 0:00:30.875 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 20:21:41 +0000 (0:00:00.041) 0:00:30.916 ******** 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 20:21:41 +0000 (0:00:00.056) 0:00:30.973 ******** 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 20:21:41 +0000 (0:00:00.048) 0:00:31.021 ******** 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 20:21:41 +0000 (0:00:00.045) 0:00:31.066 ******** 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 20:21:41 +0000 (0:00:00.033) 0:00:31.100 ******** 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 20:21:41 +0000 (0:00:00.021) 0:00:31.121 ******** 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 20:21:41 +0000 (0:00:00.025) 0:00:31.146 ******** 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 20:21:41 +0000 (0:00:00.024) 0:00:31.170 ******** 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 20:21:41 +0000 (0:00:00.035) 0:00:31.206 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 20:21:41 +0000 (0:00:00.062) 0:00:31.269 ******** 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 20:21:41 +0000 (0:00:00.052) 0:00:31.321 ******** 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 20:21:41 +0000 (0:00:00.047) 0:00:31.369 ******** 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 20:21:41 +0000 (0:00:00.037) 0:00:31.406 ******** 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 20:21:42 +0000 (0:00:00.044) 0:00:31.451 ******** 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 20:21:42 +0000 (0:00:00.041) 0:00:31.492 ******** 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 20:21:42 +0000 (0:00:00.043) 0:00:31.535 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657138896.975976, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657138896.975976, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 345, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657138896.975976, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 20:21:42 +0000 (0:00:00.405) 0:00:31.941 ******** 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 20:21:42 +0000 (0:00:00.040) 0:00:31.981 ******** 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 20:21:42 +0000 (0:00:00.039) 0:00:32.021 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 20:21:42 +0000 (0:00:00.037) 0:00:32.059 ******** 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 20:21:42 +0000 (0:00:00.025) 0:00:32.084 ******** 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 20:21:42 +0000 (0:00:00.040) 0:00:32.124 ******** 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 20:21:42 +0000 (0:00:00.022) 0:00:32.147 ******** 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 20:21:43 +0000 (0:00:00.868) 0:00:33.016 ******** 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 20:21:43 +0000 (0:00:00.023) 0:00:33.039 ******** 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 20:21:43 +0000 (0:00:00.023) 0:00:33.063 ******** 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 20:21:43 +0000 (0:00:00.098) 0:00:33.161 ******** 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 20:21:43 +0000 (0:00:00.025) 0:00:33.187 ******** 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 20:21:43 +0000 (0:00:00.023) 0:00:33.210 ******** 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 20:21:43 +0000 (0:00:00.026) 0:00:33.236 ******** 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 20:21:43 +0000 (0:00:00.025) 0:00:33.262 ******** 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 20:21:43 +0000 (0:00:00.027) 0:00:33.289 ******** 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 20:21:43 +0000 (0:00:00.053) 0:00:33.343 ******** 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 20:21:43 +0000 (0:00:00.050) 0:00:33.394 ******** 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 20:21:44 +0000 (0:00:00.036) 0:00:33.430 ******** 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 20:21:44 +0000 (0:00:00.036) 0:00:33.466 ******** 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 20:21:44 +0000 (0:00:00.036) 0:00:33.503 ******** 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 20:21:44 +0000 (0:00:00.035) 0:00:33.539 ******** 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 20:21:44 +0000 (0:00:00.043) 0:00:33.582 ******** 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 20:21:44 +0000 (0:00:00.037) 0:00:33.620 ******** 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 20:21:44 +0000 (0:00:00.037) 0:00:33.658 ******** 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 20:21:44 +0000 (0:00:00.039) 0:00:33.697 ******** 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 20:21:44 +0000 (0:00:00.038) 0:00:33.736 ******** 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 20:21:44 +0000 (0:00:00.035) 0:00:33.772 ******** 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 20:21:44 +0000 (0:00:00.035) 0:00:33.807 ******** 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 20:21:44 +0000 (0:00:00.024) 0:00:33.831 ******** 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 20:21:44 +0000 (0:00:00.036) 0:00:33.868 ******** 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 20:21:44 +0000 (0:00:00.038) 0:00:33.906 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 20:21:44 +0000 (0:00:00.039) 0:00:33.946 ******** 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 20:21:44 +0000 (0:00:00.041) 0:00:33.987 ******** 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 20:21:44 +0000 (0:00:00.037) 0:00:34.025 ******** 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 20:21:44 +0000 (0:00:00.037) 0:00:34.062 ******** 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 20:21:44 +0000 (0:00:00.038) 0:00:34.100 ******** 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 20:21:44 +0000 (0:00:00.041) 0:00:34.142 ******** 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 20:21:44 +0000 (0:00:00.038) 0:00:34.180 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 20:21:44 +0000 (0:00:00.044) 0:00:34.224 ******** 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 20:21:44 +0000 (0:00:00.025) 0:00:34.249 ******** 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 20:21:44 +0000 (0:00:00.026) 0:00:34.276 ******** 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 20:21:44 +0000 (0:00:00.025) 0:00:34.301 ******** 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 20:21:44 +0000 (0:00:00.025) 0:00:34.326 ******** 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 20:21:44 +0000 (0:00:00.025) 0:00:34.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/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 20:21:44 +0000 (0:00:00.024) 0:00:34.376 ******** 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 20:21:44 +0000 (0:00:00.022) 0:00:34.399 ******** 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 20:21:45 +0000 (0:00:00.022) 0:00:34.421 ******** 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:57 Wednesday 06 July 2022 20:21:45 +0000 (0:00:00.033) 0:00:34.455 ******** 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 [Change the disk device file system type to ext3] ************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_swap.yml:50 Wednesday 06 July 2022 20:21:45 +0000 (0:00:00.035) 0:00:34.490 ******** 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 20:21:45 +0000 (0:00:00.104) 0:00:34.594 ******** 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 20:21:45 +0000 (0:00:00.037) 0:00:34.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 20:21:45 +0000 (0:00:00.532) 0:00:35.165 ******** 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 20:21:45 +0000 (0:00:00.075) 0:00:35.240 ******** 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 20:21:45 +0000 (0:00:00.038) 0:00:35.278 ******** 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 20:21:45 +0000 (0:00:00.035) 0:00:35.313 ******** 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 20:21:45 +0000 (0:00:00.057) 0:00:35.371 ******** 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 20:21:45 +0000 (0:00:00.020) 0:00:35.391 ******** 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 20:21:46 +0000 (0:00:00.029) 0:00:35.421 ******** 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 20:21:46 +0000 (0:00:00.041) 0:00:35.463 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 20:21:46 +0000 (0:00:00.044) 0:00:35.507 ******** 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 20:21:46 +0000 (0:00:00.031) 0:00:35.538 ******** 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 20:21:46 +0000 (0:00:00.031) 0:00:35.569 ******** 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 20:21:46 +0000 (0:00:00.036) 0:00:35.606 ******** 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 20:21:46 +0000 (0:00:00.032) 0:00:35.638 ******** 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 20:21:46 +0000 (0:00:00.056) 0:00:35.695 ******** 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 20:21:46 +0000 (0:00:00.023) 0:00:35.719 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 20:21:47 +0000 (0:00:01.573) 0:00:37.293 ******** 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 20:21:47 +0000 (0:00:00.037) 0:00:37.330 ******** 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 20:21:47 +0000 (0:00:00.022) 0:00:37.353 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 20:21:47 +0000 (0:00:00.041) 0:00:37.394 ******** 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 20:21:48 +0000 (0:00:00.082) 0:00:37.477 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 20:21:48 +0000 (0:00:00.037) 0:00:37.514 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=cc295ea4-a933-4bbe-a892-1531116f2210', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=cc295ea4-a933-4bbe-a892-1531116f2210', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=cc295ea4-a933-4bbe-a892-1531116f2210" } 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 20:21:48 +0000 (0:00:00.770) 0:00:38.285 ******** 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 20:21:49 +0000 (0:00:00.676) 0:00:38.961 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=c8103d8a-8796-43ca-993c-c73420221bf0', 'path': '/opt/test', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0" } 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 20:21:49 +0000 (0:00:00.403) 0:00:39.364 ******** 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 20:21:50 +0000 (0:00:00.642) 0:00:40.007 ******** 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 20:21:50 +0000 (0:00:00.369) 0:00:40.377 ******** 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 20:21:50 +0000 (0:00:00.025) 0:00:40.402 ******** 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_swap.yml:61 Wednesday 06 July 2022 20:21:51 +0000 (0:00:00.954) 0:00:41.356 ******** 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 20:21:51 +0000 (0:00:00.051) 0:00:41.408 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 20:21:52 +0000 (0:00:00.042) 0:00:41.451 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 20:21:52 +0000 (0:00:00.062) 0:00:41.514 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "c8103d8a-8796-43ca-993c-c73420221bf0" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "1f60076c-a72e-41e9-8dc8-d77c01e75198" }, "/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-20-20-56-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 20:21:52 +0000 (0:00:00.397) 0:00:41.912 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002758", "end": "2022-07-06 16:21:52.846218", "rc": 0, "start": "2022-07-06 16:21:52.843460" } 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 UUID=c8103d8a-8796-43ca-993c-c73420221bf0 /opt/test ext3 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 20:21:52 +0000 (0:00:00.423) 0:00:42.335 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002810", "end": "2022-07-06 16:21:53.218178", "failed_when_result": false, "rc": 0, "start": "2022-07-06 16:21:53.215368" } 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 20:21:53 +0000 (0:00:00.370) 0:00:42.705 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 20:21:53 +0000 (0:00:00.021) 0:00:42.726 ******** 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 20:21:53 +0000 (0:00:00.101) 0:00:42.828 ******** [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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=c8103d8a-8796-43ca-993c-c73420221bf0', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 20:21:53 +0000 (0:00:00.060) 0:00:42.888 ******** 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 20:21:53 +0000 (0:00:00.051) 0:00:42.939 ******** 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 20:21:53 +0000 (0:00:00.079) 0:00:43.019 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 20:21:53 +0000 (0:00:00.044) 0:00:43.064 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "c8103d8a-8796-43ca-993c-c73420221bf0" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "c8103d8a-8796-43ca-993c-c73420221bf0" } ], "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 20:21:53 +0000 (0:00:00.054) 0:00:43.118 ******** 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 20:21:53 +0000 (0:00:00.051) 0:00:43.170 ******** 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 20:21:53 +0000 (0:00:00.048) 0:00:43.219 ******** 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 20:21:53 +0000 (0:00:00.051) 0:00:43.270 ******** 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 20:21:53 +0000 (0:00:00.025) 0:00:43.295 ******** 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 20:21:53 +0000 (0:00:00.024) 0:00:43.320 ******** 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 20:21:53 +0000 (0:00:00.024) 0:00:43.345 ******** 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 20:21:53 +0000 (0:00:00.034) 0:00:43.379 ******** 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": [ "UUID=c8103d8a-8796-43ca-993c-c73420221bf0 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 20:21:54 +0000 (0:00:00.063) 0:00:43.442 ******** 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 20:21:54 +0000 (0:00:00.051) 0:00:43.494 ******** 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 20:21:54 +0000 (0:00:00.049) 0:00:43.543 ******** 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 20:21:54 +0000 (0:00:00.035) 0:00:43.579 ******** 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 20:21:54 +0000 (0:00:00.037) 0:00:43.617 ******** 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 20:21:54 +0000 (0:00:00.037) 0:00:43.655 ******** 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 20:21:54 +0000 (0:00:00.041) 0:00:43.696 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657138907.749976, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657138907.749976, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 344, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657138907.749976, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 20:21:54 +0000 (0:00:00.392) 0:00:44.089 ******** 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 20:21:54 +0000 (0:00:00.039) 0:00:44.128 ******** 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 20:21:54 +0000 (0:00:00.040) 0:00:44.169 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 20:21:54 +0000 (0:00:00.039) 0:00:44.208 ******** 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 20:21:54 +0000 (0:00:00.031) 0:00:44.240 ******** 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 20:21:54 +0000 (0:00:00.039) 0:00:44.279 ******** 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 20:21:54 +0000 (0:00:00.025) 0:00:44.305 ******** 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 20:21:55 +0000 (0:00:00.837) 0:00:45.143 ******** 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 20:21:55 +0000 (0:00:00.026) 0:00:45.169 ******** 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 20:21:55 +0000 (0:00:00.024) 0:00:45.193 ******** 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 20:21:55 +0000 (0:00:00.107) 0:00:45.300 ******** 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 20:21:55 +0000 (0:00:00.023) 0:00:45.324 ******** 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 20:21:55 +0000 (0:00:00.025) 0:00:45.349 ******** 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 20:21:55 +0000 (0:00:00.023) 0:00:45.373 ******** 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 20:21:55 +0000 (0:00:00.022) 0:00:45.396 ******** 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 20:21:56 +0000 (0:00:00.022) 0:00:45.418 ******** 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 20:21:56 +0000 (0:00:00.049) 0:00:45.468 ******** 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 20:21:56 +0000 (0:00:00.055) 0:00:45.523 ******** 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 20:21:56 +0000 (0:00:00.040) 0:00:45.564 ******** 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 20:21:56 +0000 (0:00:00.042) 0:00:45.606 ******** 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 20:21:56 +0000 (0:00:00.035) 0:00:45.642 ******** 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 20:21:56 +0000 (0:00:00.036) 0:00:45.679 ******** 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 20:21:56 +0000 (0:00:00.037) 0:00:45.716 ******** 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 20:21:56 +0000 (0:00:00.038) 0:00:45.755 ******** 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 20:21:56 +0000 (0:00:00.039) 0:00:45.794 ******** 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 20:21:56 +0000 (0:00:00.039) 0:00:45.834 ******** 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 20:21:56 +0000 (0:00:00.036) 0:00:45.870 ******** 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 20:21:56 +0000 (0:00:00.035) 0:00:45.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 20:21:56 +0000 (0:00:00.035) 0:00:45.941 ******** 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 20:21:56 +0000 (0:00:00.024) 0:00:45.965 ******** 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 20:21:56 +0000 (0:00:00.039) 0:00:46.004 ******** 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 20:21:56 +0000 (0:00:00.038) 0:00:46.042 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 20:21:56 +0000 (0:00:00.039) 0:00:46.082 ******** 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 20:21:56 +0000 (0:00:00.043) 0:00:46.126 ******** 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 20:21:56 +0000 (0:00:00.040) 0:00:46.166 ******** 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 20:21:56 +0000 (0:00:00.038) 0:00:46.205 ******** 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 20:21:56 +0000 (0:00:00.038) 0:00:46.243 ******** 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 20:21:56 +0000 (0:00:00.043) 0:00:46.286 ******** 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 20:21:56 +0000 (0:00:00.040) 0:00:46.326 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 20:21:56 +0000 (0:00:00.036) 0:00:46.363 ******** 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 20:21:56 +0000 (0:00:00.024) 0:00:46.388 ******** 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 20:21:57 +0000 (0:00:00.026) 0:00:46.415 ******** 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 20:21:57 +0000 (0:00:00.024) 0:00:46.439 ******** 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 20:21:57 +0000 (0:00:00.028) 0:00:46.468 ******** 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 20:21:57 +0000 (0:00:00.026) 0:00:46.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/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 20:21:57 +0000 (0:00:00.024) 0:00:46.519 ******** 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 20:21:57 +0000 (0:00:00.023) 0:00:46.542 ******** 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 20:21:57 +0000 (0:00:00.025) 0:00:46.567 ******** 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:57 Wednesday 06 July 2022 20:21:57 +0000 (0:00:00.034) 0:00:46.602 ******** 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_swap.yml:63 Wednesday 06 July 2022 20:21:57 +0000 (0:00:00.038) 0:00:46.641 ******** 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 20:21:57 +0000 (0:00:00.059) 0:00:46.700 ******** 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 20:21:57 +0000 (0:00:00.076) 0:00:46.777 ******** 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 20:21:57 +0000 (0:00:00.545) 0:00:47.322 ******** 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 20:21:57 +0000 (0:00:00.073) 0:00:47.396 ******** 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 20:21:58 +0000 (0:00:00.034) 0:00:47.431 ******** 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 20:21:58 +0000 (0:00:00.032) 0:00:47.463 ******** 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 20:21:58 +0000 (0:00:00.054) 0:00:47.518 ******** 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 20:21:58 +0000 (0:00:00.020) 0:00:47.538 ******** 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 20:21:58 +0000 (0:00:00.026) 0:00:47.564 ******** 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 20:21:58 +0000 (0:00:00.036) 0:00:47.601 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 20:21:58 +0000 (0:00:00.039) 0:00:47.640 ******** 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 20:21:58 +0000 (0:00:00.026) 0:00:47.667 ******** 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 20:21:58 +0000 (0:00:00.026) 0:00:47.693 ******** 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 20:21:58 +0000 (0:00:00.026) 0:00:47.719 ******** 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 20:21:58 +0000 (0:00:00.027) 0:00:47.747 ******** 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 20:21:58 +0000 (0:00:00.055) 0:00:47.802 ******** 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 20:21:58 +0000 (0:00:00.022) 0:00:47.825 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 20:21:59 +0000 (0:00:01.153) 0:00:48.978 ******** 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 20:21:59 +0000 (0:00:00.037) 0:00:49.016 ******** 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 20:21:59 +0000 (0:00:00.021) 0:00:49.037 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 20:21:59 +0000 (0:00:00.035) 0:00:49.073 ******** 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 20:21:59 +0000 (0:00:00.066) 0:00:49.139 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 20:21:59 +0000 (0:00:00.074) 0:00:49.213 ******** 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 20:21:59 +0000 (0:00:00.040) 0:00:49.254 ******** 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 20:22:00 +0000 (0:00:00.687) 0:00:49.941 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=c8103d8a-8796-43ca-993c-c73420221bf0', 'path': '/opt/test', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0" } 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 20:22:00 +0000 (0:00:00.402) 0:00:50.344 ******** 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 20:22:01 +0000 (0:00:00.675) 0:00:51.020 ******** 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 20:22:01 +0000 (0:00:00.389) 0:00:51.409 ******** 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 20:22:02 +0000 (0:00:00.024) 0:00:51.434 ******** 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_swap.yml:74 Wednesday 06 July 2022 20:22:02 +0000 (0:00:00.966) 0:00:52.400 ******** 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 20:22:03 +0000 (0:00:00.051) 0:00:52.451 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 20:22:03 +0000 (0:00:00.036) 0:00:52.488 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 20:22:03 +0000 (0:00:00.050) 0:00:52.538 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "c8103d8a-8796-43ca-993c-c73420221bf0" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "1f60076c-a72e-41e9-8dc8-d77c01e75198" }, "/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-20-20-56-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 20:22:03 +0000 (0:00:00.391) 0:00:52.929 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002760", "end": "2022-07-06 16:22:03.819928", "rc": 0, "start": "2022-07-06 16:22:03.817168" } 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 UUID=c8103d8a-8796-43ca-993c-c73420221bf0 /opt/test ext3 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 20:22:03 +0000 (0:00:00.375) 0:00:53.305 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002748", "end": "2022-07-06 16:22:04.193921", "failed_when_result": false, "rc": 0, "start": "2022-07-06 16:22:04.191173" } 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 20:22:04 +0000 (0:00:00.373) 0:00:53.679 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 20:22:04 +0000 (0:00:00.021) 0:00:53.700 ******** 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 20:22:04 +0000 (0:00:00.038) 0:00:53.739 ******** [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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=c8103d8a-8796-43ca-993c-c73420221bf0', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 20:22:04 +0000 (0:00:00.060) 0:00:53.799 ******** 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 20:22:04 +0000 (0:00:00.047) 0:00:53.847 ******** 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 20:22:04 +0000 (0:00:00.109) 0:00:53.957 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 20:22:04 +0000 (0:00:00.039) 0:00:53.996 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "c8103d8a-8796-43ca-993c-c73420221bf0" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "c8103d8a-8796-43ca-993c-c73420221bf0" } ], "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 20:22:04 +0000 (0:00:00.052) 0:00:54.049 ******** 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 20:22:04 +0000 (0:00:00.048) 0:00:54.097 ******** 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 20:22:04 +0000 (0:00:00.045) 0:00:54.143 ******** 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 20:22:04 +0000 (0:00:00.047) 0:00:54.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 20:22:04 +0000 (0:00:00.030) 0:00:54.221 ******** 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 20:22:04 +0000 (0:00:00.025) 0:00:54.246 ******** 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 20:22:04 +0000 (0:00:00.024) 0:00:54.270 ******** 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 20:22:04 +0000 (0:00:00.036) 0:00:54.307 ******** 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": [ "UUID=c8103d8a-8796-43ca-993c-c73420221bf0 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 20:22:04 +0000 (0:00:00.058) 0:00:54.366 ******** 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 20:22:05 +0000 (0:00:00.049) 0:00:54.415 ******** 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 20:22:05 +0000 (0:00:00.047) 0:00:54.462 ******** 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 20:22:05 +0000 (0:00:00.035) 0:00:54.497 ******** 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 20:22:05 +0000 (0:00:00.031) 0:00:54.529 ******** 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 20:22:05 +0000 (0:00:00.035) 0:00:54.564 ******** 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 20:22:05 +0000 (0:00:00.037) 0:00:54.601 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657138907.749976, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657138907.749976, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 344, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657138907.749976, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 20:22:05 +0000 (0:00:00.366) 0:00:54.968 ******** 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 20:22:05 +0000 (0:00:00.038) 0:00:55.006 ******** 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 20:22:05 +0000 (0:00:00.037) 0:00:55.043 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 20:22:05 +0000 (0:00:00.035) 0:00:55.079 ******** 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 20:22:05 +0000 (0:00:00.022) 0:00:55.101 ******** 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 20:22:05 +0000 (0:00:00.040) 0:00:55.141 ******** 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 20:22:05 +0000 (0:00:00.022) 0:00:55.164 ******** 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 20:22:06 +0000 (0:00:00.847) 0:00:56.011 ******** 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 20:22:06 +0000 (0:00:00.026) 0:00:56.038 ******** 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 20:22:06 +0000 (0:00:00.025) 0:00:56.063 ******** 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 20:22:06 +0000 (0:00:00.052) 0:00:56.115 ******** 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 20:22:06 +0000 (0:00:00.025) 0:00:56.141 ******** 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 20:22:06 +0000 (0:00:00.026) 0:00:56.167 ******** 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 20:22:06 +0000 (0:00:00.023) 0:00:56.190 ******** 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 20:22:06 +0000 (0:00:00.022) 0:00:56.213 ******** 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 20:22:06 +0000 (0:00:00.022) 0:00:56.235 ******** 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 20:22:06 +0000 (0:00:00.048) 0:00:56.284 ******** 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 20:22:06 +0000 (0:00:00.094) 0:00:56.379 ******** 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 20:22:07 +0000 (0:00:00.034) 0:00:56.413 ******** 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 20:22:07 +0000 (0:00:00.037) 0:00:56.451 ******** 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 20:22:07 +0000 (0:00:00.037) 0:00:56.488 ******** 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 20:22:07 +0000 (0:00:00.076) 0:00:56.564 ******** 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 20:22:07 +0000 (0:00:00.038) 0:00:56.603 ******** 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 20:22:07 +0000 (0:00:00.093) 0:00:56.696 ******** 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 20:22:07 +0000 (0:00:00.039) 0:00:56.735 ******** 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 20:22:07 +0000 (0:00:00.040) 0:00:56.775 ******** 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 20:22:07 +0000 (0:00:00.046) 0:00:56.822 ******** 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 20:22:07 +0000 (0:00:00.039) 0:00:56.862 ******** 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 20:22:07 +0000 (0:00:00.046) 0:00:56.909 ******** 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 20:22:07 +0000 (0:00:00.032) 0:00:56.941 ******** 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 20:22:07 +0000 (0:00:00.043) 0:00:56.984 ******** 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 20:22:07 +0000 (0:00:00.037) 0:00:57.022 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 20:22:07 +0000 (0:00:00.034) 0:00:57.057 ******** 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 20:22:07 +0000 (0:00:00.035) 0:00:57.093 ******** 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 20:22:07 +0000 (0:00:00.036) 0:00:57.129 ******** 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 20:22:07 +0000 (0:00:00.038) 0:00:57.168 ******** 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 20:22:07 +0000 (0:00:00.039) 0:00:57.207 ******** 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 20:22:07 +0000 (0:00:00.037) 0:00:57.245 ******** 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 20:22:07 +0000 (0:00:00.045) 0:00:57.290 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 20:22:07 +0000 (0:00:00.034) 0:00:57.324 ******** 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 20:22:07 +0000 (0:00:00.022) 0:00:57.347 ******** 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 20:22:07 +0000 (0:00:00.022) 0:00:57.369 ******** 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 20:22:07 +0000 (0:00:00.026) 0:00:57.396 ******** 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 20:22:08 +0000 (0:00:00.023) 0:00:57.419 ******** 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 20:22:08 +0000 (0:00:00.022) 0:00:57.442 ******** 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 20:22:08 +0000 (0:00:00.023) 0:00:57.465 ******** 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 20:22:08 +0000 (0:00:00.026) 0:00:57.491 ******** 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 20:22:08 +0000 (0:00:00.023) 0:00:57.515 ******** 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:57 Wednesday 06 July 2022 20:22:08 +0000 (0:00:00.032) 0:00:57.547 ******** 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 [Change it back to swap] ************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_swap.yml:76 Wednesday 06 July 2022 20:22:08 +0000 (0:00:00.033) 0:00:57.581 ******** 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 20:22:08 +0000 (0:00:00.064) 0:00:57.645 ******** 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 20:22:08 +0000 (0:00:00.036) 0:00:57.682 ******** 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 20:22:08 +0000 (0:00:00.523) 0:00:58.205 ******** 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 20:22:08 +0000 (0:00:00.104) 0:00:58.309 ******** 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 20:22:08 +0000 (0:00:00.070) 0:00:58.380 ******** 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 20:22:09 +0000 (0:00:00.076) 0:00:58.457 ******** 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 20:22:09 +0000 (0:00:00.056) 0:00:58.513 ******** 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 20:22:09 +0000 (0:00:00.020) 0:00:58.534 ******** 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 20:22:09 +0000 (0:00:00.026) 0:00:58.561 ******** 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 20:22:09 +0000 (0:00:00.035) 0:00:58.596 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 20:22:09 +0000 (0:00:00.035) 0:00:58.632 ******** 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 20:22:09 +0000 (0:00:00.029) 0:00:58.661 ******** 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 20:22:09 +0000 (0:00:00.025) 0:00:58.687 ******** 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 20:22:09 +0000 (0:00:00.025) 0:00:58.712 ******** 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 20:22:09 +0000 (0:00:00.025) 0:00:58.737 ******** 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 20:22:09 +0000 (0:00:00.056) 0:00:58.793 ******** 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 20:22:09 +0000 (0:00:00.023) 0:00:58.817 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "present" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 20:22:10 +0000 (0:00:01.501) 0:01:00.318 ******** 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 20:22:10 +0000 (0:00:00.037) 0:01:00.356 ******** 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 20:22:10 +0000 (0:00:00.023) 0:01:00.380 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "present" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 20:22:11 +0000 (0:00:00.040) 0:01:00.420 ******** 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 20:22:11 +0000 (0:00:00.037) 0:01:00.458 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 20:22:11 +0000 (0:00:00.040) 0:01:00.499 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=c8103d8a-8796-43ca-993c-c73420221bf0', 'path': '/opt/test', 'state': 'absent', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=c8103d8a-8796-43ca-993c-c73420221bf0" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'path': '/opt/test', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 20:22:11 +0000 (0:00:00.743) 0:01:01.242 ******** 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 20:22:12 +0000 (0:00:00.707) 0:01:01.950 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=e2f37955-f4f0-4161-b956-fe986a32de67', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67" } 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 20:22:12 +0000 (0:00:00.406) 0:01:02.357 ******** 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 20:22:13 +0000 (0:00:00.646) 0:01:03.003 ******** 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 20:22:14 +0000 (0:00:00.416) 0:01:03.420 ******** 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 20:22:14 +0000 (0:00:00.022) 0:01:03.442 ******** 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_swap.yml:86 Wednesday 06 July 2022 20:22:15 +0000 (0:00:00.971) 0:01:04.414 ******** 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 20:22:15 +0000 (0:00:00.084) 0:01:04.499 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 20:22:15 +0000 (0:00:00.037) 0:01:04.537 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 20:22:15 +0000 (0:00:00.052) 0:01:04.589 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "e2f37955-f4f0-4161-b956-fe986a32de67" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "1f60076c-a72e-41e9-8dc8-d77c01e75198" }, "/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-20-20-56-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 20:22:15 +0000 (0:00:00.384) 0:01:04.973 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003200", "end": "2022-07-06 16:22:15.857328", "rc": 0, "start": "2022-07-06 16:22:15.854128" } 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 UUID=e2f37955-f4f0-4161-b956-fe986a32de67 none swap 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 20:22:15 +0000 (0:00:00.373) 0:01:05.347 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002688", "end": "2022-07-06 16:22:16.237012", "failed_when_result": false, "rc": 0, "start": "2022-07-06 16:22:16.234324" } 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 20:22:16 +0000 (0:00:00.376) 0:01:05.724 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 20:22:16 +0000 (0:00:00.022) 0:01:05.747 ******** 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 20:22:16 +0000 (0:00:00.035) 0:01:05.783 ******** [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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=e2f37955-f4f0-4161-b956-fe986a32de67', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 20:22:16 +0000 (0:00:00.061) 0:01:05.844 ******** 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 20:22:16 +0000 (0:00:00.048) 0:01:05.893 ******** 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 20:22:16 +0000 (0:00:00.075) 0:01:05.969 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 20:22:16 +0000 (0:00:00.043) 0:01:06.012 ******** 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": "1" }, "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 20:22:16 +0000 (0:00:00.052) 0:01:06.065 ******** 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 20:22:16 +0000 (0:00:00.029) 0:01:06.094 ******** 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 20:22:16 +0000 (0:00:00.058) 0:01:06.152 ******** 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 20:22:16 +0000 (0:00:00.038) 0:01:06.191 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.003005", "end": "2022-07-06 16:22:17.089360", "rc": 0, "start": "2022-07-06 16:22:17.086355" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 20:22:17 +0000 (0:00:00.387) 0:01:06.579 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003185", "end": "2022-07-06 16:22:17.520136", "rc": 0, "start": "2022-07-06 16:22:17.516951" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 20:22:17 +0000 (0:00:00.428) 0:01:07.007 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 20:22:17 +0000 (0:00:00.050) 0:01:07.058 ******** 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 20:22:17 +0000 (0:00:00.032) 0:01:07.090 ******** 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": "0", "storage_test_fstab_id_matches": [ "UUID=e2f37955-f4f0-4161-b956-fe986a32de67 " ], "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 20:22:17 +0000 (0:00:00.060) 0:01:07.150 ******** 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 20:22:17 +0000 (0:00:00.051) 0:01:07.202 ******** 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 20:22:17 +0000 (0:00:00.051) 0:01:07.253 ******** 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 20:22:17 +0000 (0:00:00.038) 0:01:07.291 ******** 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 20:22:17 +0000 (0:00:00.038) 0:01:07.329 ******** 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 20:22:17 +0000 (0:00:00.039) 0:01:07.369 ******** 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 20:22:17 +0000 (0:00:00.040) 0:01:07.409 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657138930.7879758, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657138930.769976, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 344, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657138930.769976, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 20:22:18 +0000 (0:00:00.365) 0:01:07.775 ******** 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 20:22:18 +0000 (0:00:00.039) 0:01:07.814 ******** 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 20:22:18 +0000 (0:00:00.040) 0:01:07.854 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 20:22:18 +0000 (0:00:00.038) 0:01:07.893 ******** 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 20:22:18 +0000 (0:00:00.024) 0:01:07.918 ******** 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 20:22:18 +0000 (0:00:00.041) 0:01:07.959 ******** 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 20:22:18 +0000 (0:00:00.025) 0:01:07.985 ******** 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 20:22:19 +0000 (0:00:00.818) 0:01:08.803 ******** 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 20:22:19 +0000 (0:00:00.025) 0:01:08.829 ******** 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 20:22:19 +0000 (0:00:00.025) 0:01:08.855 ******** 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 20:22:19 +0000 (0:00:00.052) 0:01:08.907 ******** 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 20:22:19 +0000 (0:00:00.024) 0:01:08.932 ******** 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 20:22:19 +0000 (0:00:00.023) 0:01:08.955 ******** 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 20:22:19 +0000 (0:00:00.022) 0:01:08.978 ******** 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 20:22:19 +0000 (0:00:00.023) 0:01:09.001 ******** 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 20:22:19 +0000 (0:00:00.024) 0:01:09.026 ******** 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 20:22:19 +0000 (0:00:00.085) 0:01:09.112 ******** 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 20:22:19 +0000 (0:00:00.050) 0:01:09.163 ******** 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 20:22:19 +0000 (0:00:00.035) 0:01:09.198 ******** 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 20:22:19 +0000 (0:00:00.035) 0:01:09.233 ******** 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 20:22:19 +0000 (0:00:00.036) 0:01:09.270 ******** 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 20:22:19 +0000 (0:00:00.038) 0:01:09.308 ******** 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 20:22:19 +0000 (0:00:00.035) 0:01:09.344 ******** 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 20:22:19 +0000 (0:00:00.035) 0:01:09.379 ******** 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 20:22:20 +0000 (0:00:00.034) 0:01:09.414 ******** 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 20:22:20 +0000 (0:00:00.041) 0:01:09.455 ******** 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 20:22:20 +0000 (0:00:00.036) 0:01:09.491 ******** 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 20:22:20 +0000 (0:00:00.036) 0:01:09.528 ******** 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 20:22:20 +0000 (0:00:00.038) 0:01:09.566 ******** 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 20:22:20 +0000 (0:00:00.056) 0:01:09.623 ******** 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 20:22:20 +0000 (0:00:00.037) 0:01:09.661 ******** 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 20:22:20 +0000 (0:00:00.038) 0:01:09.700 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 20:22:20 +0000 (0:00:00.040) 0:01:09.740 ******** 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 20:22:20 +0000 (0:00:00.040) 0:01:09.781 ******** 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 20:22:20 +0000 (0:00:00.037) 0:01:09.819 ******** 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 20:22:20 +0000 (0:00:00.040) 0:01:09.859 ******** 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 20:22:20 +0000 (0:00:00.037) 0:01:09.896 ******** 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 20:22:20 +0000 (0:00:00.041) 0:01:09.938 ******** 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 20:22:20 +0000 (0:00:00.036) 0:01:09.974 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 20:22:20 +0000 (0:00:00.036) 0:01:10.010 ******** 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 20:22:20 +0000 (0:00:00.026) 0:01:10.037 ******** 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 20:22:20 +0000 (0:00:00.025) 0:01:10.062 ******** 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 20:22:20 +0000 (0:00:00.023) 0:01:10.086 ******** 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 20:22:20 +0000 (0:00:00.024) 0:01:10.111 ******** 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 20:22:20 +0000 (0:00:00.026) 0:01:10.137 ******** 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 20:22:20 +0000 (0:00:00.026) 0:01:10.164 ******** 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 20:22:20 +0000 (0:00:00.024) 0:01:10.189 ******** 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 20:22:20 +0000 (0:00:00.028) 0:01:10.217 ******** 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:57 Wednesday 06 July 2022 20:22:20 +0000 (0:00:00.036) 0:01:10.254 ******** 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_swap.yml:88 Wednesday 06 July 2022 20:22:20 +0000 (0:00:00.037) 0:01:10.292 ******** 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 20:22:20 +0000 (0:00:00.069) 0:01:10.361 ******** 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 20:22:20 +0000 (0:00:00.038) 0:01:10.400 ******** 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 20:22:21 +0000 (0:00:00.568) 0:01:10.969 ******** 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 20:22:21 +0000 (0:00:00.073) 0:01:11.042 ******** 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 20:22:21 +0000 (0:00:00.033) 0:01:11.076 ******** 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 20:22:21 +0000 (0:00:00.034) 0:01:11.110 ******** 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 20:22:21 +0000 (0:00:00.054) 0:01:11.164 ******** 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 20:22:21 +0000 (0:00:00.019) 0:01:11.184 ******** 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 20:22:21 +0000 (0:00:00.028) 0:01:11.213 ******** 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 20:22:21 +0000 (0:00:00.104) 0:01:11.318 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 20:22:21 +0000 (0:00:00.037) 0:01:11.355 ******** 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 20:22:21 +0000 (0:00:00.027) 0:01:11.383 ******** 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 20:22:21 +0000 (0:00:00.027) 0:01:11.410 ******** 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 20:22:22 +0000 (0:00:00.030) 0:01:11.440 ******** 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 20:22:22 +0000 (0:00:00.031) 0:01:11.472 ******** 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 20:22:22 +0000 (0:00:00.067) 0:01:11.539 ******** 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 20:22:22 +0000 (0:00:00.026) 0:01:11.565 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "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": "swap", "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "present" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 20:22:23 +0000 (0:00:01.210) 0:01:12.776 ******** 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 20:22:23 +0000 (0:00:00.037) 0:01:12.814 ******** 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 20:22:23 +0000 (0:00:00.022) 0:01:12.836 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "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": "swap", "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "present" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 20:22:23 +0000 (0:00:00.044) 0:01:12.880 ******** 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 20:22:23 +0000 (0:00:00.042) 0:01:12.923 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 20:22:23 +0000 (0:00:00.040) 0:01:12.963 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=e2f37955-f4f0-4161-b956-fe986a32de67', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67" } 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 20:22:23 +0000 (0:00:00.406) 0:01:13.369 ******** 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 20:22:24 +0000 (0:00:00.661) 0:01:14.030 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=e2f37955-f4f0-4161-b956-fe986a32de67', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67" } 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 20:22:25 +0000 (0:00:00.402) 0:01:14.433 ******** 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 20:22:25 +0000 (0:00:00.683) 0:01:15.117 ******** 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 20:22:26 +0000 (0:00:00.389) 0:01:15.506 ******** 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 20:22:26 +0000 (0:00:00.024) 0:01:15.531 ******** 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_swap.yml:98 Wednesday 06 July 2022 20:22:27 +0000 (0:00:01.026) 0:01:16.557 ******** 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 20:22:27 +0000 (0:00:00.054) 0:01:16.611 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 20:22:27 +0000 (0:00:00.039) 0:01:16.651 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 20:22:27 +0000 (0:00:00.052) 0:01:16.704 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "e2f37955-f4f0-4161-b956-fe986a32de67" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "1f60076c-a72e-41e9-8dc8-d77c01e75198" }, "/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-20-20-56-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 20:22:27 +0000 (0:00:00.395) 0:01:17.099 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003066", "end": "2022-07-06 16:22:27.980464", "rc": 0, "start": "2022-07-06 16:22:27.977398" } 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 UUID=e2f37955-f4f0-4161-b956-fe986a32de67 none swap 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 20:22:28 +0000 (0:00:00.367) 0:01:17.467 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002636", "end": "2022-07-06 16:22:28.348236", "failed_when_result": false, "rc": 0, "start": "2022-07-06 16:22:28.345600" } 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 20:22:28 +0000 (0:00:00.369) 0:01:17.836 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 20:22:28 +0000 (0:00:00.025) 0:01:17.861 ******** 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 20:22:28 +0000 (0:00:00.039) 0:01:17.901 ******** [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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=e2f37955-f4f0-4161-b956-fe986a32de67', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 20:22:28 +0000 (0:00:00.062) 0:01:17.963 ******** 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 20:22:28 +0000 (0:00:00.052) 0:01:18.016 ******** 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 20:22:28 +0000 (0:00:00.082) 0:01:18.099 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 20:22:28 +0000 (0:00:00.042) 0:01:18.141 ******** 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": "1" }, "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 20:22:28 +0000 (0:00:00.054) 0:01:18.196 ******** 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 20:22:28 +0000 (0:00:00.025) 0:01:18.222 ******** 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 20:22:28 +0000 (0:00:00.051) 0:01:18.273 ******** 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 20:22:28 +0000 (0:00:00.038) 0:01:18.311 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.003433", "end": "2022-07-06 16:22:29.208028", "rc": 0, "start": "2022-07-06 16:22:29.204595" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 20:22:29 +0000 (0:00:00.385) 0:01:18.697 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003469", "end": "2022-07-06 16:22:29.628383", "rc": 0, "start": "2022-07-06 16:22:29.624914" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 20:22:29 +0000 (0:00:00.421) 0:01:19.118 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 20:22:29 +0000 (0:00:00.050) 0:01:19.169 ******** 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 20:22:29 +0000 (0:00:00.037) 0:01:19.206 ******** 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": "0", "storage_test_fstab_id_matches": [ "UUID=e2f37955-f4f0-4161-b956-fe986a32de67 " ], "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 20:22:29 +0000 (0:00:00.063) 0:01:19.270 ******** 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 20:22:29 +0000 (0:00:00.052) 0:01:19.323 ******** 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 20:22:29 +0000 (0:00:00.050) 0:01:19.374 ******** 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 20:22:30 +0000 (0:00:00.039) 0:01:19.413 ******** 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 20:22:30 +0000 (0:00:00.035) 0:01:19.449 ******** 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 20:22:30 +0000 (0:00:00.044) 0:01:19.493 ******** 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 20:22:30 +0000 (0:00:00.042) 0:01:19.535 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657138930.7879758, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657138930.769976, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 344, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657138930.769976, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 20:22:30 +0000 (0:00:00.390) 0:01:19.926 ******** 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 20:22:30 +0000 (0:00:00.041) 0:01:19.967 ******** 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 20:22:30 +0000 (0:00:00.041) 0:01:20.009 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 20:22:30 +0000 (0:00:00.037) 0:01:20.046 ******** 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 20:22:30 +0000 (0:00:00.027) 0:01:20.074 ******** 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 20:22:30 +0000 (0:00:00.042) 0:01:20.116 ******** 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 20:22:30 +0000 (0:00:00.026) 0:01:20.142 ******** 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 20:22:31 +0000 (0:00:00.858) 0:01:21.001 ******** 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 20:22:31 +0000 (0:00:00.025) 0:01:21.026 ******** 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 20:22:31 +0000 (0:00:00.026) 0:01:21.053 ******** 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 20:22:31 +0000 (0:00:00.052) 0:01:21.105 ******** 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 20:22:31 +0000 (0:00:00.025) 0:01:21.130 ******** 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 20:22:31 +0000 (0:00:00.024) 0:01:21.155 ******** 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 20:22:31 +0000 (0:00:00.025) 0:01:21.180 ******** 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 20:22:31 +0000 (0:00:00.023) 0:01:21.204 ******** 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 20:22:31 +0000 (0:00:00.023) 0:01:21.227 ******** 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 20:22:31 +0000 (0:00:00.050) 0:01:21.277 ******** 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 20:22:31 +0000 (0:00:00.046) 0:01:21.323 ******** 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 20:22:31 +0000 (0:00:00.038) 0:01:21.362 ******** 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 20:22:31 +0000 (0:00:00.035) 0:01:21.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/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 20:22:32 +0000 (0:00:00.038) 0:01:21.436 ******** 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 20:22:32 +0000 (0:00:00.031) 0:01:21.467 ******** 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 20:22:32 +0000 (0:00:00.041) 0:01:21.509 ******** 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 20:22:32 +0000 (0:00:00.042) 0:01:21.551 ******** 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 20:22:32 +0000 (0:00:00.044) 0:01:21.596 ******** 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 20:22:32 +0000 (0:00:00.038) 0:01:21.635 ******** 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 20:22:32 +0000 (0:00:00.036) 0:01:21.671 ******** 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 20:22:32 +0000 (0:00:00.036) 0:01:21.707 ******** 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 20:22:32 +0000 (0:00:00.075) 0:01:21.783 ******** 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 20:22:32 +0000 (0:00:00.025) 0:01:21.808 ******** 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 20:22:32 +0000 (0:00:00.041) 0:01:21.850 ******** 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 20:22:32 +0000 (0:00:00.040) 0:01:21.891 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 20:22:32 +0000 (0:00:00.041) 0:01:21.933 ******** 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 20:22:32 +0000 (0:00:00.038) 0:01:21.972 ******** 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 20:22:32 +0000 (0:00:00.037) 0:01:22.009 ******** 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 20:22:32 +0000 (0:00:00.037) 0:01:22.047 ******** 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 20:22:32 +0000 (0:00:00.037) 0:01:22.084 ******** 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 20:22:32 +0000 (0:00:00.038) 0:01:22.123 ******** 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 20:22:32 +0000 (0:00:00.038) 0:01:22.161 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 20:22:32 +0000 (0:00:00.039) 0:01:22.201 ******** 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 20:22:32 +0000 (0:00:00.028) 0:01:22.229 ******** 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 20:22:32 +0000 (0:00:00.026) 0:01:22.255 ******** 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 20:22:32 +0000 (0:00:00.024) 0:01:22.280 ******** 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 20:22:32 +0000 (0:00:00.024) 0:01:22.305 ******** 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 20:22:32 +0000 (0:00:00.026) 0:01:22.331 ******** 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 20:22:32 +0000 (0:00:00.024) 0:01:22.356 ******** 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 20:22:32 +0000 (0:00:00.026) 0:01:22.382 ******** 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 20:22:32 +0000 (0:00:00.026) 0:01:22.408 ******** 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:57 Wednesday 06 July 2022 20:22:33 +0000 (0:00:00.038) 0:01:22.446 ******** 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_swap.yml:100 Wednesday 06 July 2022 20:22:33 +0000 (0:00:00.036) 0:01:22.482 ******** 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 20:22:33 +0000 (0:00:00.080) 0:01:22.563 ******** 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 20:22:33 +0000 (0:00:00.037) 0:01:22.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 20:22:33 +0000 (0:00:00.519) 0:01:23.121 ******** 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 20:22:33 +0000 (0:00:00.073) 0:01:23.194 ******** 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 20:22:33 +0000 (0:00:00.035) 0:01:23.229 ******** 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 20:22:33 +0000 (0:00:00.035) 0:01:23.265 ******** 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 20:22:33 +0000 (0:00:00.057) 0:01:23.322 ******** 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 20:22:33 +0000 (0:00:00.022) 0:01:23.344 ******** 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 20:22:33 +0000 (0:00:00.028) 0:01:23.372 ******** 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 20:22:34 +0000 (0:00:00.101) 0:01:23.474 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "mount_point": "/opt/test", "name": "test1", "state": "absent", "type": "disk" }, { "disks": [ "sdb" ], "mount_point": "none", "name": "test2", "state": "absent", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 20:22:34 +0000 (0:00:00.040) 0:01:23.514 ******** 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 20:22:34 +0000 (0:00:00.030) 0:01:23.545 ******** 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 20:22:34 +0000 (0:00:00.029) 0:01:23.574 ******** 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 20:22:34 +0000 (0:00:00.028) 0:01:23.603 ******** 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 20:22:34 +0000 (0:00:00.028) 0:01:23.632 ******** 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 20:22:34 +0000 (0:00:00.055) 0:01:23.687 ******** 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 20:22:34 +0000 (0:00:00.022) 0:01:23.710 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=1f60076c-a72e-41e9-8dc8-d77c01e75198", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 20:22:35 +0000 (0:00:01.449) 0:01:25.160 ******** 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 20:22:35 +0000 (0:00:00.037) 0:01:25.198 ******** 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 20:22:35 +0000 (0:00:00.021) 0:01:25.220 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=1f60076c-a72e-41e9-8dc8-d77c01e75198", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 20:22:35 +0000 (0:00:00.043) 0:01:25.263 ******** 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 20:22:35 +0000 (0:00:00.041) 0:01:25.305 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=1f60076c-a72e-41e9-8dc8-d77c01e75198", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 20:22:35 +0000 (0:00:00.039) 0:01:25.344 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=e2f37955-f4f0-4161-b956-fe986a32de67', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67" } 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 20:22:36 +0000 (0:00:00.416) 0:01:25.761 ******** 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 20:22:37 +0000 (0:00:00.665) 0:01:26.426 ******** 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 20:22:37 +0000 (0:00:00.038) 0:01:26.465 ******** 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 20:22:37 +0000 (0:00:00.669) 0:01:27.134 ******** 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 20:22:38 +0000 (0:00:00.384) 0:01:27.519 ******** 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 20:22:38 +0000 (0:00:00.028) 0:01:27.547 ******** 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_swap.yml:116 Wednesday 06 July 2022 20:22:39 +0000 (0:00:01.011) 0:01:28.559 ******** 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 20:22:39 +0000 (0:00:00.087) 0:01:28.647 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 20:22:39 +0000 (0:00:00.038) 0:01:28.686 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=e2f37955-f4f0-4161-b956-fe986a32de67", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=1f60076c-a72e-41e9-8dc8-d77c01e75198", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 20:22:39 +0000 (0:00:00.052) 0:01:28.739 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-20-20-56-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 20:22:39 +0000 (0:00:00.395) 0:01:29.135 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004289", "end": "2022-07-06 16:22:41.023588", "rc": 0, "start": "2022-07-06 16:22:40.019299" } 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 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 20:22:41 +0000 (0:00:01.380) 0:01:30.515 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002722", "end": "2022-07-06 16:22:41.404069", "failed_when_result": false, "rc": 0, "start": "2022-07-06 16:22:41.401347" } 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 20:22:41 +0000 (0:00:00.379) 0:01:30.894 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 20:22:41 +0000 (0:00:00.024) 0:01:30.918 ******** 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 20:22:41 +0000 (0:00:00.036) 0:01:30.954 ******** [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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=e2f37955-f4f0-4161-b956-fe986a32de67'}) 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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sdb'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=1f60076c-a72e-41e9-8dc8-d77c01e75198'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 20:22:41 +0000 (0:00:00.063) 0:01:31.018 ******** 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 20:22:41 +0000 (0:00:00.047) 0:01:31.066 ******** 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 20:22:41 +0000 (0:00:00.075) 0:01:31.141 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 20:22:41 +0000 (0:00:00.070) 0:01:31.211 ******** 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 20:22:41 +0000 (0:00:00.126) 0:01:31.338 ******** 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 20:22:41 +0000 (0:00:00.024) 0:01:31.362 ******** 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 20:22:41 +0000 (0:00:00.047) 0:01:31.409 ******** 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 20:22:42 +0000 (0:00:00.038) 0:01:31.447 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.003078", "end": "2022-07-06 16:22:42.343855", "rc": 0, "start": "2022-07-06 16:22:42.340777" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 20:22:42 +0000 (0:00:00.389) 0:01:31.836 ******** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:01.004453", "end": "2022-07-06 16:22:43.733394", "rc": 0, "start": "2022-07-06 16:22:42.728941" } STDOUT: Filename Type Size Used Priority TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 20:22:43 +0000 (0:00:01.393) 0:01:33.230 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 20:22:43 +0000 (0:00:00.063) 0:01:33.294 ******** 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 20:22:43 +0000 (0:00:00.056) 0:01:33.351 ******** 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 20:22:44 +0000 (0:00:00.110) 0:01:33.461 ******** 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 20:22:44 +0000 (0:00:00.049) 0:01:33.511 ******** 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 20:22:44 +0000 (0:00:00.082) 0:01:33.593 ******** 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 20:22:44 +0000 (0:00:00.054) 0:01:33.647 ******** 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 20:22:44 +0000 (0:00:00.045) 0:01:33.693 ******** 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 20:22:44 +0000 (0:00:00.026) 0:01:33.719 ******** 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 20:22:44 +0000 (0:00:00.025) 0:01:33.745 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657138955.614976, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657138955.614976, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 344, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657138955.614976, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 20:22:44 +0000 (0:00:00.419) 0:01:34.165 ******** 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 20:22:44 +0000 (0:00:00.041) 0:01:34.206 ******** 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 20:22:44 +0000 (0:00:00.028) 0:01:34.234 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 20:22:44 +0000 (0:00:00.039) 0:01:34.274 ******** 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 20:22:44 +0000 (0:00:00.026) 0:01:34.301 ******** 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 20:22:44 +0000 (0:00:00.024) 0:01:34.326 ******** 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 20:22:44 +0000 (0:00:00.025) 0:01:34.352 ******** 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 20:22:45 +0000 (0:00:00.870) 0:01:35.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/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 20:22:45 +0000 (0:00:00.025) 0:01:35.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/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 20:22:45 +0000 (0:00:00.026) 0:01:35.274 ******** 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 20:22:45 +0000 (0:00:00.024) 0:01:35.298 ******** 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 20:22:45 +0000 (0:00:00.024) 0:01:35.323 ******** 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 20:22:45 +0000 (0:00:00.024) 0:01:35.348 ******** 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 20:22:45 +0000 (0:00:00.026) 0:01:35.375 ******** 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 20:22:45 +0000 (0:00:00.024) 0:01:35.399 ******** 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 20:22:46 +0000 (0:00:00.023) 0:01:35.422 ******** 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 20:22:46 +0000 (0:00:00.051) 0:01:35.474 ******** 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 20:22:46 +0000 (0:00:00.049) 0:01:35.524 ******** 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 20:22:46 +0000 (0:00:00.035) 0:01:35.560 ******** 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 20:22:46 +0000 (0:00:00.039) 0:01:35.599 ******** 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 20:22:46 +0000 (0:00:00.040) 0:01:35.640 ******** 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 20:22:46 +0000 (0:00:00.035) 0:01:35.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-md.yml:13 Wednesday 06 July 2022 20:22:46 +0000 (0:00:00.036) 0:01:35.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-md.yml:17 Wednesday 06 July 2022 20:22:46 +0000 (0:00:00.035) 0:01:35.748 ******** 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 20:22:46 +0000 (0:00:00.040) 0:01:35.789 ******** 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 20:22:46 +0000 (0:00:00.075) 0:01:35.864 ******** 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 20:22:46 +0000 (0:00:00.036) 0:01:35.900 ******** 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 20:22:46 +0000 (0:00:00.035) 0:01:35.936 ******** 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 20:22:46 +0000 (0:00:00.035) 0:01:35.971 ******** 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 20:22:46 +0000 (0:00:00.022) 0:01:35.994 ******** 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 20:22:46 +0000 (0:00:00.033) 0:01:36.027 ******** 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 20:22:46 +0000 (0:00:00.036) 0:01:36.064 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 20:22:46 +0000 (0:00:00.041) 0:01:36.105 ******** 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 20:22:46 +0000 (0:00:00.039) 0:01:36.145 ******** 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 20:22:46 +0000 (0:00:00.037) 0:01:36.183 ******** 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 20:22:46 +0000 (0:00:00.037) 0:01:36.220 ******** 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 20:22:46 +0000 (0:00:00.040) 0:01:36.261 ******** 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 20:22:46 +0000 (0:00:00.037) 0:01:36.298 ******** 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 20:22:46 +0000 (0:00:00.038) 0:01:36.336 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 20:22:46 +0000 (0:00:00.035) 0:01:36.371 ******** 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 20:22:46 +0000 (0:00:00.024) 0:01:36.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/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 20:22:47 +0000 (0:00:00.025) 0:01:36.421 ******** 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 20:22:47 +0000 (0:00:00.024) 0:01:36.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/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 20:22:47 +0000 (0:00:00.025) 0:01:36.470 ******** 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 20:22:47 +0000 (0:00:00.025) 0:01:36.496 ******** 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 20:22:47 +0000 (0:00:00.023) 0:01:36.519 ******** 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 20:22:47 +0000 (0:00:00.025) 0:01:36.545 ******** 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 20:22:47 +0000 (0:00:00.027) 0:01:36.573 ******** 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 20:22:47 +0000 (0:00:00.036) 0:01:36.609 ******** 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 20:22:47 +0000 (0:00:00.047) 0:01:36.656 ******** 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 20:22:47 +0000 (0:00:00.074) 0:01:36.731 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 20:22:47 +0000 (0:00:00.039) 0:01:36.771 ******** 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 20:22:47 +0000 (0:00:00.056) 0:01:36.828 ******** 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 20:22:47 +0000 (0:00:00.026) 0:01:36.854 ******** 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 20:22:47 +0000 (0:00:00.050) 0:01:36.904 ******** 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 20:22:47 +0000 (0:00:00.034) 0:01:36.939 ******** 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 20:22:47 +0000 (0:00:00.023) 0:01:36.963 ******** 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 20:22:47 +0000 (0:00:00.022) 0:01:36.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 20:22:47 +0000 (0:00:00.022) 0:01:37.008 ******** 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 20:22:47 +0000 (0:00:00.033) 0:01:37.042 ******** 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 20:22:47 +0000 (0:00:00.059) 0:01:37.102 ******** 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 20:22:47 +0000 (0:00:00.024) 0:01:37.126 ******** 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 20:22:47 +0000 (0:00:00.085) 0:01:37.212 ******** 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 20:22:47 +0000 (0:00:00.071) 0:01:37.283 ******** 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 20:22:47 +0000 (0:00:00.036) 0:01:37.320 ******** 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 20:22:47 +0000 (0:00:00.025) 0:01:37.345 ******** 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 20:22:47 +0000 (0:00:00.024) 0:01:37.369 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657138955.562976, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657138955.562976, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 345, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657138955.562976, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 20:22:48 +0000 (0:00:00.370) 0:01:37.740 ******** 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 20:22:48 +0000 (0:00:00.040) 0:01:37.780 ******** 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 20:22:48 +0000 (0:00:00.025) 0:01:37.806 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 20:22:48 +0000 (0:00:00.038) 0:01:37.844 ******** 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 20:22:48 +0000 (0:00:00.024) 0:01:37.869 ******** 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 20:22:48 +0000 (0:00:00.024) 0:01:37.894 ******** 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 20:22:48 +0000 (0:00:00.027) 0:01:37.921 ******** 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 20:22:49 +0000 (0:00:00.819) 0:01:38.741 ******** 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 20:22:49 +0000 (0:00:00.023) 0:01:38.764 ******** 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 20:22:49 +0000 (0:00:00.026) 0:01:38.790 ******** 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 20:22:49 +0000 (0:00:00.025) 0:01:38.816 ******** 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 20:22:49 +0000 (0:00:00.024) 0:01:38.841 ******** 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 20:22:49 +0000 (0:00:00.025) 0:01:38.866 ******** 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 20:22:49 +0000 (0:00:00.026) 0:01:38.892 ******** 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 20:22:49 +0000 (0:00:00.025) 0:01:38.917 ******** 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 20:22:49 +0000 (0:00:00.023) 0:01:38.941 ******** 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 20:22:49 +0000 (0:00:00.052) 0:01:38.994 ******** 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 20:22:49 +0000 (0:00:00.051) 0:01:39.046 ******** 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 20:22:49 +0000 (0:00:00.035) 0:01:39.081 ******** 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 20:22:49 +0000 (0:00:00.035) 0:01:39.117 ******** 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 20:22:49 +0000 (0:00:00.037) 0:01:39.155 ******** 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 20:22:49 +0000 (0:00:00.038) 0:01:39.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:13 Wednesday 06 July 2022 20:22:49 +0000 (0:00:00.038) 0:01:39.231 ******** 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 20:22:49 +0000 (0:00:00.036) 0:01:39.267 ******** 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 20:22:49 +0000 (0:00:00.036) 0:01:39.303 ******** 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 20:22:49 +0000 (0:00:00.039) 0:01:39.343 ******** 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 20:22:49 +0000 (0:00:00.036) 0:01:39.380 ******** 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 20:22:50 +0000 (0:00:00.046) 0:01:39.427 ******** 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 20:22:50 +0000 (0:00:00.042) 0:01:39.469 ******** 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 20:22:50 +0000 (0:00:00.038) 0:01:39.507 ******** 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 20:22:50 +0000 (0:00:00.040) 0:01:39.548 ******** 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 20:22:50 +0000 (0:00:00.039) 0:01:39.587 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 20:22:50 +0000 (0:00:00.078) 0:01:39.665 ******** 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 20:22:50 +0000 (0:00:00.040) 0:01:39.706 ******** 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 20:22:50 +0000 (0:00:00.039) 0:01:39.745 ******** 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 20:22:50 +0000 (0:00:00.036) 0:01:39.782 ******** 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 20:22:50 +0000 (0:00:00.039) 0:01:39.821 ******** 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 20:22:50 +0000 (0:00:00.078) 0:01:39.900 ******** 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 20:22:50 +0000 (0:00:00.034) 0:01:39.935 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 20:22:50 +0000 (0:00:00.035) 0:01:39.970 ******** 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 20:22:50 +0000 (0:00:00.025) 0:01:39.995 ******** 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 20:22:50 +0000 (0:00:00.024) 0:01:40.020 ******** 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 20:22:50 +0000 (0:00:00.024) 0:01:40.044 ******** 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 20:22:50 +0000 (0:00:00.033) 0:01:40.078 ******** 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 20:22:50 +0000 (0:00:00.025) 0:01:40.104 ******** 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 20:22:50 +0000 (0:00:00.023) 0:01:40.128 ******** 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 20:22:50 +0000 (0:00:00.023) 0:01:40.151 ******** 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 20:22:50 +0000 (0:00:00.023) 0:01:40.174 ******** 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:57 Wednesday 06 July 2022 20:22:50 +0000 (0:00:00.037) 0:01:40.212 ******** 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 } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=480 changed=21 unreachable=0 failed=0 skipped=427 rescued=0 ignored=0 Wednesday 06 July 2022 20:22:50 +0000 (0:00:00.043) 0:01:40.256 ******** =============================================================================== fedora.linux_system_roles.storage : get service facts ------------------- 1.75s /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.57s /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.52s /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.50s /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.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 --- 1.41s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Read the /etc/fstab file for volume existence --------------------------- 1.40s /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 --------------------- Gather swap info -------------------------------------------------------- 1.39s /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 ---------------- Read the /etc/fstab file for volume existence --------------------------- 1.38s /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 --------------------- 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 Gathering Facts --------------------------------------------------------- 1.31s /tmp/tmpaxpydj_h/tests/storage/tests_swap_scsi_generated.yml:3 ---------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.21s /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.15s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : Update facts ------------------------ 1.03s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 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 Ensure cryptsetup is present -------------------------------------------- 0.98s /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.96s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183