ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpp_vyhrdp executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_change_disk_mount_nvme_generated.yml *************************** 2 plays in /tmp/tmpafnwmbol/tests/tests_change_disk_mount_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount_nvme_generated.yml:3 Thursday 21 July 2022 13:02:56 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount_nvme_generated.yml:7 Thursday 21 July 2022 13:02:58 +0000 (0:00:01.349) 0:00:01.362 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:2 Thursday 21 July 2022 13:02:58 +0000 (0:00:00.049) 0:00:01.412 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:10 Thursday 21 July 2022 13:02:59 +0000 (0:00:00.964) 0:00:02.376 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 13:02:59 +0000 (0:00:00.036) 0:00:02.412 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 13:02:59 +0000 (0:00:00.031) 0:00:02.443 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 13:02:59 +0000 (0:00:00.528) 0:00:02.972 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 13:02:59 +0000 (0:00:00.052) 0:00:03.025 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 13:02:59 +0000 (0:00:00.028) 0:00:03.053 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 13:02:59 +0000 (0:00:00.029) 0:00:03.082 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 13:02:59 +0000 (0:00:00.047) 0:00:03.129 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 13:02:59 +0000 (0:00:00.018) 0:00:03.148 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 13:03:01 +0000 (0:00:01.859) 0:00:05.007 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 13:03:01 +0000 (0:00:00.059) 0:00:05.067 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 13:03:01 +0000 (0:00:00.059) 0:00:05.127 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 13:03:02 +0000 (0:00:00.753) 0:00:05.880 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 13:03:02 +0000 (0:00:00.051) 0:00:05.932 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 13:03:02 +0000 (0:00:00.035) 0:00:05.967 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 13:03:02 +0000 (0:00:00.035) 0:00:06.002 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 13:03:02 +0000 (0:00:00.029) 0:00:06.032 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 13:03:04 +0000 (0:00:01.476) 0:00:07.509 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 13:03:07 +0000 (0:00:02.931) 0:00:10.440 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 13:03:07 +0000 (0:00:00.056) 0:00:10.497 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 13:03:07 +0000 (0:00:00.022) 0:00:10.520 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:03:07 +0000 (0:00:00.563) 0:00:11.083 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 13:03:07 +0000 (0:00:00.037) 0:00:11.121 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 13:03:07 +0000 (0:00:00.021) 0:00:11.143 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:03:07 +0000 (0:00:00.036) 0:00:11.179 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:03:07 +0000 (0:00:00.034) 0:00:11.214 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 13:03:07 +0000 (0:00:00.038) 0:00:11.252 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 13:03:07 +0000 (0:00:00.034) 0:00:11.287 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 13:03:08 +0000 (0:00:00.024) 0:00:11.312 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:03:08 +0000 (0:00:00.043) 0:00:11.355 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 13:03:08 +0000 (0:00:00.034) 0:00:11.390 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 13:03:08 +0000 (0:00:00.493) 0:00:11.883 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 13:03:08 +0000 (0:00:00.022) 0:00:11.905 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:13 Thursday 21 July 2022 13:03:09 +0000 (0:00:00.994) 0:00:12.900 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:20 Thursday 21 July 2022 13:03:09 +0000 (0:00:00.061) 0:00:12.961 ********* included: /tmp/tmpafnwmbol/tests/get_unused_disk.yml for /cache/rhel-8-y.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:2 Thursday 21 July 2022 13:03:09 +0000 (0:00:00.062) 0:00:13.023 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "disks": [ "nvme0n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:9 Thursday 21 July 2022 13:03:11 +0000 (0:00:01.519) 0:00:14.543 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme0n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:14 Thursday 21 July 2022 13:03:11 +0000 (0:00:00.036) 0:00:14.579 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:19 Thursday 21 July 2022 13:03:11 +0000 (0:00:00.038) 0:00:14.618 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "unused_disks": [ "nvme0n1" ] } TASK [Create a disk device mounted at "/opt/test1"] **************************** task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:25 Thursday 21 July 2022 13:03:11 +0000 (0:00:00.036) 0:00:14.655 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 13:03:11 +0000 (0:00:00.043) 0:00:14.698 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 13:03:11 +0000 (0:00:00.037) 0:00:14.736 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 13:03:11 +0000 (0:00:00.529) 0:00:15.266 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.059) 0:00:15.325 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.036) 0:00:15.361 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.037) 0:00:15.399 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.046) 0:00:15.446 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.020) 0:00:15.467 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.027) 0:00:15.494 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.035) 0:00:15.529 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme0n1" ], "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.069) 0:00:15.599 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.032) 0:00:15.632 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.029) 0:00:15.661 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.028) 0:00:15.689 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.028) 0:00:15.718 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.056) 0:00:15.774 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 13:03:12 +0000 (0:00:00.022) 0:00:15.797 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:03:20 +0000 (0:00:07.666) 0:00:23.463 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 13:03:20 +0000 (0:00:00.037) 0:00:23.500 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 13:03:20 +0000 (0:00:00.022) 0:00:23.523 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:03:20 +0000 (0:00:00.037) 0:00:23.560 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:03:20 +0000 (0:00:00.033) 0:00:23.594 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 13:03:20 +0000 (0:00:00.038) 0:00:23.633 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 13:03:20 +0000 (0:00:00.041) 0:00:23.675 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 13:03:21 +0000 (0:00:00.897) 0:00:24.572 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:03:24 +0000 (0:00:03.006) 0:00:27.579 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 13:03:24 +0000 (0:00:00.657) 0:00:28.236 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 13:03:25 +0000 (0:00:00.379) 0:00:28.616 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 13:03:25 +0000 (0:00:00.024) 0:00:28.640 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:35 Thursday 21 July 2022 13:03:26 +0000 (0:00:01.014) 0:00:29.655 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 13:03:26 +0000 (0:00:00.071) 0:00:29.726 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:03:26 +0000 (0:00:00.038) 0:00:29.765 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:03:26 +0000 (0:00:00.052) 0:00:29.817 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-13-02-44-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 13:03:27 +0000 (0:00:00.498) 0:00:30.316 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003426", "end": "2022-07-21 09:03:27.318560", "rc": 0, "start": "2022-07-21 09:03:27.315134" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 13:03:27 +0000 (0:00:00.482) 0:00:30.798 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003145", "end": "2022-07-21 09:03:27.702072", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:03:27.698927" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 13:03:27 +0000 (0:00:00.384) 0:00:31.183 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:03:27 +0000 (0:00:00.024) 0:00:31.207 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme0n1'], '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/nvme0n1', '_raw_device': '/dev/nvme0n1', '_mount_id': 'UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7', '_kernel_device': '/dev/nvme0n1', '_raw_kernel_device': '/dev/nvme0n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:03:27 +0000 (0:00:00.060) 0:00:31.268 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.052) 0:00:31.320 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.087) 0:00:31.408 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme0n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.041) 0:00:31.450 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme0n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme0n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.059) 0:00:31.509 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.050) 0:00:31.559 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.050) 0:00:31.609 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.049) 0:00:31.659 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.031) 0:00:31.691 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.026) 0:00:31.718 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.023) 0:00:31.742 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.114) 0:00:31.856 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.061) 0:00:31.918 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.050) 0:00:31.968 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.058) 0:00:32.027 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.037) 0:00:32.065 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.035) 0:00:32.101 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.040) 0:00:32.141 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 13:03:28 +0000 (0:00:00.043) 0:00:32.185 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658408599.9274454, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658408599.9274454, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 15665, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658408599.9274454, "nlink": 1, "path": "/dev/nvme0n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 13:03:29 +0000 (0:00:00.400) 0:00:32.585 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 13:03:29 +0000 (0:00:00.040) 0:00:32.626 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 13:03:29 +0000 (0:00:00.040) 0:00:32.666 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:03:29 +0000 (0:00:00.038) 0:00:32.705 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 13:03:29 +0000 (0:00:00.027) 0:00:32.733 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 13:03:29 +0000 (0:00:00.050) 0:00:32.784 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 13:03:29 +0000 (0:00:00.026) 0:00:32.811 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 13:03:30 +0000 (0:00:01.394) 0:00:34.205 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 13:03:30 +0000 (0:00:00.025) 0:00:34.231 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 13:03:30 +0000 (0:00:00.026) 0:00:34.257 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.053) 0:00:34.310 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.025) 0:00:34.336 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.024) 0:00:34.360 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.026) 0:00:34.386 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.024) 0:00:34.411 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.023) 0:00:34.434 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.052) 0:00:34.487 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.050) 0:00:34.537 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.035) 0:00:34.572 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.044) 0:00:34.617 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.046) 0:00:34.664 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.043) 0:00:34.708 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.041) 0:00:34.749 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.038) 0:00:34.787 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.070) 0:00:34.857 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.038) 0:00:34.896 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.038) 0:00:34.934 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.037) 0:00:34.972 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.042) 0:00:35.014 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.023) 0:00:35.038 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.036) 0:00:35.075 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.038) 0:00:35.113 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.039) 0:00:35.152 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.037) 0:00:35.190 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.036) 0:00:35.227 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.036) 0:00:35.264 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 13:03:31 +0000 (0:00:00.039) 0:00:35.303 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.044) 0:00:35.347 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.037) 0:00:35.384 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.038) 0:00:35.423 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.025) 0:00:35.448 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.029) 0:00:35.477 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.026) 0:00:35.504 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.024) 0:00:35.528 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.024) 0:00:35.552 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.026) 0:00:35.579 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.025) 0:00:35.604 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.026) 0:00:35.631 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.035) 0:00:35.667 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device mount location to "/opt/test2"] ******************* task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:37 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.033) 0:00:35.701 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.052) 0:00:35.754 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 13:03:32 +0000 (0:00:00.036) 0:00:35.790 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.537) 0:00:36.328 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.072) 0:00:36.400 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.036) 0:00:36.437 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.032) 0:00:36.470 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.047) 0:00:36.517 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.049) 0:00:36.567 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.027) 0:00:36.595 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.037) 0:00:36.632 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme0n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.039) 0:00:36.672 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.030) 0:00:36.703 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.027) 0:00:36.730 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.028) 0:00:36.759 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.028) 0:00:36.788 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.057) 0:00:36.846 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 13:03:33 +0000 (0:00:00.022) 0:00:36.868 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:03:34 +0000 (0:00:01.413) 0:00:38.282 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 13:03:35 +0000 (0:00:00.040) 0:00:38.322 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 13:03:35 +0000 (0:00:00.022) 0:00:38.344 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:03:35 +0000 (0:00:00.041) 0:00:38.386 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:03:35 +0000 (0:00:00.037) 0:00:38.424 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 13:03:35 +0000 (0:00:00.039) 0:00:38.463 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 13:03:35 +0000 (0:00:00.441) 0:00:38.904 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 13:03:36 +0000 (0:00:00.649) 0:00:39.554 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:03:36 +0000 (0:00:00.444) 0:00:39.999 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 13:03:37 +0000 (0:00:00.673) 0:00:40.672 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 13:03:37 +0000 (0:00:00.377) 0:00:41.050 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 13:03:37 +0000 (0:00:00.024) 0:00:41.074 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:47 Thursday 21 July 2022 13:03:38 +0000 (0:00:00.990) 0:00:42.065 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 13:03:38 +0000 (0:00:00.077) 0:00:42.142 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:03:38 +0000 (0:00:00.037) 0:00:42.180 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:03:38 +0000 (0:00:00.050) 0:00:42.230 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-13-02-44-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 13:03:39 +0000 (0:00:00.377) 0:00:42.607 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003151", "end": "2022-07-21 09:03:39.511857", "rc": 0, "start": "2022-07-21 09:03:39.508706" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 13:03:39 +0000 (0:00:00.384) 0:00:42.992 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002559", "end": "2022-07-21 09:03:39.898400", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:03:39.895841" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.385) 0:00:43.378 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.023) 0:00:43.401 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme0n1'], '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/nvme0n1', '_raw_device': '/dev/nvme0n1', '_mount_id': 'UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7', '_kernel_device': '/dev/nvme0n1', '_raw_kernel_device': '/dev/nvme0n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.058) 0:00:43.459 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.051) 0:00:43.510 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.076) 0:00:43.587 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme0n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.041) 0:00:43.629 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme0n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme0n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.054) 0:00:43.683 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.052) 0:00:43.736 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.048) 0:00:43.785 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.051) 0:00:43.837 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.026) 0:00:43.863 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.024) 0:00:43.887 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.023) 0:00:43.910 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.035) 0:00:43.946 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.062) 0:00:44.008 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.080) 0:00:44.089 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.084) 0:00:44.173 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 13:03:40 +0000 (0:00:00.092) 0:00:44.266 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 13:03:41 +0000 (0:00:00.042) 0:00:44.308 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 13:03:41 +0000 (0:00:00.048) 0:00:44.356 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 13:03:41 +0000 (0:00:00.052) 0:00:44.409 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658408599.9274454, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658408599.9274454, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 15665, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658408599.9274454, "nlink": 1, "path": "/dev/nvme0n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 13:03:41 +0000 (0:00:00.389) 0:00:44.798 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 13:03:41 +0000 (0:00:00.040) 0:00:44.839 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 13:03:41 +0000 (0:00:00.040) 0:00:44.879 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:03:41 +0000 (0:00:00.036) 0:00:44.916 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 13:03:41 +0000 (0:00:00.023) 0:00:44.939 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 13:03:41 +0000 (0:00:00.041) 0:00:44.981 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 13:03:41 +0000 (0:00:00.024) 0:00:45.005 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 13:03:43 +0000 (0:00:01.426) 0:00:46.432 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.025) 0:00:46.457 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.027) 0:00:46.485 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.070) 0:00:46.555 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.024) 0:00:46.580 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.024) 0:00:46.604 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.026) 0:00:46.631 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.025) 0:00:46.656 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.025) 0:00:46.682 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.053) 0:00:46.735 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.084) 0:00:46.819 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.038) 0:00:46.858 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.040) 0:00:46.899 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.038) 0:00:46.937 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.072) 0:00:47.010 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.040) 0:00:47.050 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.037) 0:00:47.087 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.036) 0:00:47.124 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.036) 0:00:47.161 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.075) 0:00:47.236 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 13:03:43 +0000 (0:00:00.036) 0:00:47.272 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.035) 0:00:47.307 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.022) 0:00:47.330 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.036) 0:00:47.367 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.038) 0:00:47.406 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.036) 0:00:47.443 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.036) 0:00:47.479 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.038) 0:00:47.518 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.036) 0:00:47.554 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.036) 0:00:47.591 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.036) 0:00:47.627 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.038) 0:00:47.666 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.034) 0:00:47.701 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.023) 0:00:47.725 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.024) 0:00:47.749 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.028) 0:00:47.777 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.026) 0:00:47.803 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.025) 0:00:47.829 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.025) 0:00:47.854 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.025) 0:00:47.880 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.024) 0:00:47.904 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.036) 0:00:47.940 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:49 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.038) 0:00:47.979 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.053) 0:00:48.033 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 13:03:44 +0000 (0:00:00.049) 0:00:48.082 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.553) 0:00:48.635 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.066) 0:00:48.701 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.037) 0:00:48.739 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.035) 0:00:48.775 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.047) 0:00:48.823 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.020) 0:00:48.843 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.028) 0:00:48.872 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.081) 0:00:48.954 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme0n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.042) 0:00:48.996 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.029) 0:00:49.026 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.031) 0:00:49.058 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.029) 0:00:49.088 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.028) 0:00:49.116 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.057) 0:00:49.174 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 13:03:45 +0000 (0:00:00.022) 0:00:49.196 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:03:47 +0000 (0:00:01.351) 0:00:50.548 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 13:03:47 +0000 (0:00:00.038) 0:00:50.587 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 13:03:47 +0000 (0:00:00.022) 0:00:50.610 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:03:47 +0000 (0:00:00.037) 0:00:50.647 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:03:47 +0000 (0:00:00.038) 0:00:50.686 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 13:03:47 +0000 (0:00:00.037) 0:00:50.724 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 13:03:47 +0000 (0:00:00.040) 0:00:50.764 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 13:03:48 +0000 (0:00:00.630) 0:00:51.394 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:03:48 +0000 (0:00:00.406) 0:00:51.800 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 13:03:49 +0000 (0:00:00.620) 0:00:52.421 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 13:03:49 +0000 (0:00:00.379) 0:00:52.801 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 13:03:49 +0000 (0:00:00.021) 0:00:52.823 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:59 Thursday 21 July 2022 13:03:50 +0000 (0:00:01.031) 0:00:53.855 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 13:03:50 +0000 (0:00:00.046) 0:00:53.901 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:03:50 +0000 (0:00:00.073) 0:00:53.975 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:03:50 +0000 (0:00:00.049) 0:00:54.025 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-13-02-44-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 13:03:51 +0000 (0:00:00.383) 0:00:54.408 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002431", "end": "2022-07-21 09:03:51.303514", "rc": 0, "start": "2022-07-21 09:03:51.301083" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 13:03:51 +0000 (0:00:00.372) 0:00:54.780 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003303", "end": "2022-07-21 09:03:51.688261", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:03:51.684958" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 13:03:51 +0000 (0:00:00.388) 0:00:55.168 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:03:51 +0000 (0:00:00.023) 0:00:55.192 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme0n1'], '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/nvme0n1', '_raw_device': '/dev/nvme0n1', '_mount_id': 'UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7', '_kernel_device': '/dev/nvme0n1', '_raw_kernel_device': '/dev/nvme0n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:03:51 +0000 (0:00:00.059) 0:00:55.252 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 13:03:51 +0000 (0:00:00.051) 0:00:55.303 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.077) 0:00:55.380 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme0n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.039) 0:00:55.419 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme0n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme0n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.054) 0:00:55.474 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.049) 0:00:55.523 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.047) 0:00:55.570 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.052) 0:00:55.623 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.024) 0:00:55.647 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.024) 0:00:55.672 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.025) 0:00:55.697 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.042) 0:00:55.739 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.064) 0:00:55.804 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.064) 0:00:55.868 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.079) 0:00:55.948 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.038) 0:00:55.986 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.089) 0:00:56.076 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.037) 0:00:56.114 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 13:03:52 +0000 (0:00:00.039) 0:00:56.153 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658408599.9274454, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658408599.9274454, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 15665, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658408599.9274454, "nlink": 1, "path": "/dev/nvme0n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 13:03:53 +0000 (0:00:00.400) 0:00:56.553 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 13:03:53 +0000 (0:00:00.050) 0:00:56.604 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 13:03:53 +0000 (0:00:00.042) 0:00:56.646 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:03:53 +0000 (0:00:00.040) 0:00:56.686 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 13:03:53 +0000 (0:00:00.027) 0:00:56.714 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 13:03:53 +0000 (0:00:00.041) 0:00:56.755 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 13:03:53 +0000 (0:00:00.026) 0:00:56.782 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 13:03:54 +0000 (0:00:01.382) 0:00:58.164 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 13:03:54 +0000 (0:00:00.026) 0:00:58.190 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 13:03:54 +0000 (0:00:00.025) 0:00:58.215 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 13:03:54 +0000 (0:00:00.057) 0:00:58.273 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 13:03:54 +0000 (0:00:00.025) 0:00:58.298 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.024) 0:00:58.323 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.027) 0:00:58.350 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.027) 0:00:58.377 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.026) 0:00:58.404 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.055) 0:00:58.460 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.053) 0:00:58.513 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.035) 0:00:58.548 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.044) 0:00:58.593 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.038) 0:00:58.631 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.037) 0:00:58.669 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.038) 0:00:58.708 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.038) 0:00:58.747 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.039) 0:00:58.786 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.041) 0:00:58.828 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.038) 0:00:58.867 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.037) 0:00:58.904 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.038) 0:00:58.943 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.026) 0:00:58.969 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.036) 0:00:59.005 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.037) 0:00:59.043 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.085) 0:00:59.129 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.038) 0:00:59.168 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.036) 0:00:59.205 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.038) 0:00:59.244 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 13:03:55 +0000 (0:00:00.038) 0:00:59.282 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.074) 0:00:59.357 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.037) 0:00:59.394 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.035) 0:00:59.430 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.024) 0:00:59.455 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.025) 0:00:59.480 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.025) 0:00:59.506 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.025) 0:00:59.532 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.026) 0:00:59.559 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.025) 0:00:59.585 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.025) 0:00:59.610 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.025) 0:00:59.636 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.037) 0:00:59.674 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:61 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.033) 0:00:59.708 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.075) 0:00:59.783 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 13:03:56 +0000 (0:00:00.038) 0:00:59.822 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.537) 0:01:00.359 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.063) 0:01:00.422 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.035) 0:01:00.457 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.042) 0:01:00.500 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.048) 0:01:00.548 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.020) 0:01:00.569 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.028) 0:01:00.597 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.036) 0:01:00.633 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme0n1" ], "mount_point": "/opt/test2", "name": "test1", "state": "absent", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.038) 0:01:00.672 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.027) 0:01:00.700 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.027) 0:01:00.728 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.027) 0:01:00.755 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.028) 0:01:00.783 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.110) 0:01:00.894 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 13:03:57 +0000 (0:00:00.021) 0:01:00.915 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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 } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:03:59 +0000 (0:00:01.794) 0:01:02.709 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 13:03:59 +0000 (0:00:00.038) 0:01:02.748 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 13:03:59 +0000 (0:00:00.024) 0:01:02.772 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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 } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:03:59 +0000 (0:00:00.036) 0:01:02.809 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:03:59 +0000 (0:00:00.036) 0:01:02.845 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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 } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 13:03:59 +0000 (0:00:00.037) 0:01:02.882 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 13:03:59 +0000 (0:00:00.418) 0:01:03.301 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 13:04:00 +0000 (0:00:00.629) 0:01:03.930 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:04:00 +0000 (0:00:00.038) 0:01:03.968 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 13:04:01 +0000 (0:00:00.633) 0:01:04.602 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 13:04:01 +0000 (0:00:00.376) 0:01:04.978 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 13:04:01 +0000 (0:00:00.024) 0:01:05.003 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:72 Thursday 21 July 2022 13:04:02 +0000 (0:00:01.004) 0:01:06.007 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 13:04:02 +0000 (0:00:00.049) 0:01:06.057 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:04:02 +0000 (0:00:00.038) 0:01:06.095 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_mount_id": "UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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 } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:04:02 +0000 (0:00:00.084) 0:01:06.180 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-13-02-44-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 13:04:03 +0000 (0:00:00.423) 0:01:06.603 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002814", "end": "2022-07-21 09:04:03.510972", "rc": 0, "start": "2022-07-21 09:04:03.508158" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 13:04:03 +0000 (0:00:00.385) 0:01:06.989 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003816", "end": "2022-07-21 09:04:03.892580", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:04:03.888764" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.384) 0:01:07.373 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.021) 0:01:07.395 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['nvme0n1'], '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/nvme0n1', '_raw_device': '/dev/nvme0n1', '_mount_id': 'UUID=3bb9fbb7-f71b-4173-a0f7-f1db74dd42c7'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.056) 0:01:07.451 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.047) 0:01:07.499 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.072) 0:01:07.571 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme0n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.044) 0:01:07.616 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.061) 0:01:07.678 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.027) 0:01:07.706 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.049) 0:01:07.755 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.036) 0:01:07.792 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.023) 0:01:07.816 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.024) 0:01:07.840 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.022) 0:01:07.863 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.041) 0:01:07.904 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.065) 0:01:07.970 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.024) 0:01:07.994 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.049) 0:01:08.044 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.036) 0:01:08.081 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.034) 0:01:08.115 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.024) 0:01:08.140 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 13:04:04 +0000 (0:00:00.023) 0:01:08.163 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658408639.1594455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658408639.1594455, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 15665, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658408639.1594455, "nlink": 1, "path": "/dev/nvme0n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 13:04:05 +0000 (0:00:00.385) 0:01:08.548 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 13:04:05 +0000 (0:00:00.047) 0:01:08.596 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 13:04:05 +0000 (0:00:00.023) 0:01:08.619 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:04:05 +0000 (0:00:00.072) 0:01:08.692 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 13:04:05 +0000 (0:00:00.062) 0:01:08.754 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 13:04:05 +0000 (0:00:00.024) 0:01:08.778 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 13:04:05 +0000 (0:00:00.024) 0:01:08.802 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 13:04:06 +0000 (0:00:01.365) 0:01:10.168 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 13:04:06 +0000 (0:00:00.026) 0:01:10.194 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 13:04:06 +0000 (0:00:00.025) 0:01:10.219 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 13:04:06 +0000 (0:00:00.023) 0:01:10.243 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 13:04:06 +0000 (0:00:00.023) 0:01:10.266 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 13:04:06 +0000 (0:00:00.021) 0:01:10.288 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.021) 0:01:10.309 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.024) 0:01:10.334 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.026) 0:01:10.360 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.053) 0:01:10.413 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.051) 0:01:10.465 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.038) 0:01:10.504 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.038) 0:01:10.543 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.038) 0:01:10.581 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.035) 0:01:10.617 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.040) 0:01:10.657 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.036) 0:01:10.693 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.038) 0:01:10.732 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.035) 0:01:10.768 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.043) 0:01:10.811 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.038) 0:01:10.849 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.037) 0:01:10.886 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.024) 0:01:10.911 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.036) 0:01:10.947 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.034) 0:01:10.982 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.067) 0:01:11.049 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.037) 0:01:11.086 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.040) 0:01:11.127 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.039) 0:01:11.167 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.036) 0:01:11.203 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 13:04:07 +0000 (0:00:00.036) 0:01:11.239 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.092) 0:01:11.332 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.035) 0:01:11.368 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.023) 0:01:11.391 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.025) 0:01:11.417 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.026) 0:01:11.443 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.028) 0:01:11.471 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.025) 0:01:11.496 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.025) 0:01:11.522 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.028) 0:01:11.551 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.025) 0:01:11.576 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.037) 0:01:11.613 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=261 changed=6 unreachable=0 failed=0 skipped=228 rescued=0 ignored=0 Thursday 21 July 2022 13:04:08 +0000 (0:00:00.049) 0:01:11.663 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 7.67s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : set up new/current mounts ------------------ 3.01s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 linux-system-roles.storage : get service facts -------------------------- 2.93s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : make sure blivet is available -------------- 1.86s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.79s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Find unused disks in the system ----------------------------------------- 1.52s /tmp/tmpafnwmbol/tests/get_unused_disk.yml:2 ---------------------------------- linux-system-roles.storage : make sure required packages are installed --- 1.48s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 1.43s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.41s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.39s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.38s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.37s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.35s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gathering Facts --------------------------------------------------------- 1.35s /tmp/tmpafnwmbol/tests/tests_change_disk_mount_nvme_generated.yml:3 ----------- linux-system-roles.storage : Update facts ------------------------------- 1.03s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.01s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.99s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.99s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmpafnwmbol/tests/tests_change_disk_mount.yml:2 -------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpp_vyhrdp executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_change_disk_mount_nvme_generated.yml *************************** 2 plays in /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount_nvme_generated.yml:3 Thursday 21 July 2022 16:44:12 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount_nvme_generated.yml:7 Thursday 21 July 2022 16:44:13 +0000 (0:00:01.350) 0:00:01.362 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:2 Thursday 21 July 2022 16:44:13 +0000 (0:00:00.049) 0:00:01.411 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:10 Thursday 21 July 2022 16:44:14 +0000 (0:00:00.982) 0:00:02.394 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 16:44:14 +0000 (0:00:00.035) 0:00:02.430 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:44:14 +0000 (0:00:00.029) 0:00:02.460 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 16:44:15 +0000 (0:00:00.545) 0:00:03.005 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 16:44:15 +0000 (0:00:00.056) 0:00:03.062 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 16:44:15 +0000 (0:00:00.031) 0:00:03.093 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 16:44:15 +0000 (0:00:00.030) 0:00:03.123 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:44:15 +0000 (0:00:00.055) 0:00:03.179 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:44:15 +0000 (0:00:00.018) 0:00:03.198 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 16:44:17 +0000 (0:00:01.922) 0:00:05.121 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 16:44:17 +0000 (0:00:00.033) 0:00:05.154 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 16:44:17 +0000 (0:00:00.032) 0:00:05.187 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 16:44:18 +0000 (0:00:00.726) 0:00:05.913 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 16:44:18 +0000 (0:00:00.048) 0:00:05.961 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 16:44:18 +0000 (0:00:00.031) 0:00:05.993 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 16:44:18 +0000 (0:00:00.038) 0:00:06.032 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 16:44:18 +0000 (0:00:00.035) 0:00:06.068 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 16:44:19 +0000 (0:00:01.409) 0:00:07.477 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 16:44:21 +0000 (0:00:01.906) 0:00:09.383 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:44:21 +0000 (0:00:00.059) 0:00:09.443 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 16:44:21 +0000 (0:00:00.023) 0:00:09.467 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 16:44:22 +0000 (0:00:00.540) 0:00:10.007 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 16:44:22 +0000 (0:00:00.037) 0:00:10.044 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 16:44:22 +0000 (0:00:00.020) 0:00:10.065 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 16:44:22 +0000 (0:00:00.034) 0:00:10.100 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 16:44:22 +0000 (0:00:00.034) 0:00:10.134 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 16:44:22 +0000 (0:00:00.032) 0:00:10.167 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 16:44:22 +0000 (0:00:00.032) 0:00:10.200 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 16:44:22 +0000 (0:00:00.023) 0:00:10.223 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 16:44:22 +0000 (0:00:00.037) 0:00:10.260 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 16:44:22 +0000 (0:00:00.022) 0:00:10.283 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 16:44:22 +0000 (0:00:00.478) 0:00:10.761 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 16:44:23 +0000 (0:00:00.021) 0:00:10.783 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:13 Thursday 21 July 2022 16:44:24 +0000 (0:00:01.017) 0:00:11.800 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:20 Thursday 21 July 2022 16:44:24 +0000 (0:00:00.033) 0:00:11.834 ********* included: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml for /cache/rhel-8-y.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 16:44:24 +0000 (0:00:00.036) 0:00:11.870 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 16:44:24 +0000 (0:00:00.531) 0:00:12.402 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 16:44:24 +0000 (0:00:00.035) 0:00:12.437 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 16:44:24 +0000 (0:00:00.037) 0:00:12.475 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create a disk device mounted at "/opt/test1"] **************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:25 Thursday 21 July 2022 16:44:24 +0000 (0:00:00.033) 0:00:12.508 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 16:44:24 +0000 (0:00:00.042) 0:00:12.551 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:44:24 +0000 (0:00:00.035) 0:00:12.587 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.508) 0:00:13.096 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.061) 0:00:13.157 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.033) 0:00:13.191 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.034) 0:00:13.225 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.056) 0:00:13.281 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.020) 0:00:13.302 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.026) 0:00:13.328 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.034) 0:00:13.363 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.036) 0:00:13.400 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.027) 0:00:13.427 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.026) 0:00:13.454 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.026) 0:00:13.480 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.029) 0:00:13.509 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.057) 0:00:13.567 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 16:44:25 +0000 (0:00:00.021) 0:00:13.588 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 16:44:27 +0000 (0:00:01.638) 0:00:15.227 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 16:44:27 +0000 (0:00:00.035) 0:00:15.262 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 16:44:27 +0000 (0:00:00.020) 0:00:15.283 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 16:44:27 +0000 (0:00:00.039) 0:00:15.323 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 16:44:27 +0000 (0:00:00.036) 0:00:15.359 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 16:44:27 +0000 (0:00:00.037) 0:00:15.397 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 16:44:27 +0000 (0:00:00.035) 0:00:15.432 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 16:44:28 +0000 (0:00:00.839) 0:00:16.272 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=ad8de057-59cc-4642-ac90-825058fe99aa', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 16:44:29 +0000 (0:00:00.552) 0:00:16.824 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 16:44:29 +0000 (0:00:00.611) 0:00:17.435 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 16:44:30 +0000 (0:00:00.377) 0:00:17.813 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 16:44:30 +0000 (0:00:00.023) 0:00:17.836 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:35 Thursday 21 July 2022 16:44:31 +0000 (0:00:00.965) 0:00:18.801 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 16:44:31 +0000 (0:00:00.039) 0:00:18.841 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 16:44:31 +0000 (0:00:00.062) 0:00:18.904 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 16:44:31 +0000 (0:00:00.048) 0:00:18.952 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "ad8de057-59cc-4642-ac90-825058fe99aa" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-43-59-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 16:44:31 +0000 (0:00:00.482) 0:00:19.434 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002741", "end": "2022-07-21 12:44:31.290807", "rc": 0, "start": "2022-07-21 12:44:31.288066" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 UUID=ad8de057-59cc-4642-ac90-825058fe99aa /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.466) 0:00:19.901 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002935", "end": "2022-07-21 12:44:31.667951", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:44:31.665016" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.373) 0:00:20.275 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.022) 0:00:20.297 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme1n1'], '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/nvme1n1', '_raw_device': '/dev/nvme1n1', '_mount_id': 'UUID=ad8de057-59cc-4642-ac90-825058fe99aa', '_kernel_device': '/dev/nvme1n1', '_raw_kernel_device': '/dev/nvme1n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.060) 0:00:20.357 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.049) 0:00:20.407 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.083) 0:00:20.490 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.040) 0:00:20.530 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "ad8de057-59cc-4642-ac90-825058fe99aa" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "ad8de057-59cc-4642-ac90-825058fe99aa" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.053) 0:00:20.584 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.047) 0:00:20.632 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.050) 0:00:20.682 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.059) 0:00:20.741 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 16:44:32 +0000 (0:00:00.022) 0:00:20.764 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.023) 0:00:20.788 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.021) 0:00:20.810 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.063) 0:00:20.874 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=ad8de057-59cc-4642-ac90-825058fe99aa " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.094) 0:00:20.968 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.078) 0:00:21.046 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.051) 0:00:21.098 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.035) 0:00:21.134 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.034) 0:00:21.169 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.035) 0:00:21.205 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.038) 0:00:21.243 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658421866.5646834, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658421866.5646834, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1545, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658421866.5646834, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.401) 0:00:21.645 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.041) 0:00:21.686 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.040) 0:00:21.727 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 16:44:33 +0000 (0:00:00.037) 0:00:21.765 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 16:44:34 +0000 (0:00:00.027) 0:00:21.792 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:44:34 +0000 (0:00:00.038) 0:00:21.830 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:44:34 +0000 (0:00:00.023) 0:00:21.854 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:44:35 +0000 (0:00:01.444) 0:00:23.298 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.023) 0:00:23.322 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.026) 0:00:23.348 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.060) 0:00:23.408 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.024) 0:00:23.433 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.024) 0:00:23.458 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.023) 0:00:23.482 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.024) 0:00:23.506 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.022) 0:00:23.529 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.049) 0:00:23.579 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.050) 0:00:23.629 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.037) 0:00:23.667 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.035) 0:00:23.702 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.037) 0:00:23.739 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:44:35 +0000 (0:00:00.035) 0:00:23.775 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.035) 0:00:23.810 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.034) 0:00:23.844 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.034) 0:00:23.878 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.061) 0:00:23.940 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.035) 0:00:23.976 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.035) 0:00:24.012 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.035) 0:00:24.047 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.028) 0:00:24.075 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.044) 0:00:24.120 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.043) 0:00:24.164 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.036) 0:00:24.200 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.037) 0:00:24.237 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.035) 0:00:24.273 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.035) 0:00:24.308 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.037) 0:00:24.346 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.037) 0:00:24.383 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.033) 0:00:24.417 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.034) 0:00:24.451 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.023) 0:00:24.474 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.024) 0:00:24.499 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.026) 0:00:24.526 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.024) 0:00:24.550 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.027) 0:00:24.578 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.026) 0:00:24.605 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.025) 0:00:24.631 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.025) 0:00:24.656 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.034) 0:00:24.691 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device mount location to "/opt/test2"] ******************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:37 Thursday 21 July 2022 16:44:36 +0000 (0:00:00.037) 0:00:24.728 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.064) 0:00:24.793 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.035) 0:00:24.829 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.528) 0:00:25.358 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.059) 0:00:25.417 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.033) 0:00:25.450 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.034) 0:00:25.485 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.053) 0:00:25.539 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.020) 0:00:25.559 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.065) 0:00:25.624 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.035) 0:00:25.660 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.040) 0:00:25.701 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.027) 0:00:25.728 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 16:44:37 +0000 (0:00:00.027) 0:00:25.756 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 16:44:38 +0000 (0:00:00.026) 0:00:25.782 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 16:44:38 +0000 (0:00:00.026) 0:00:25.809 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:44:38 +0000 (0:00:00.057) 0:00:25.867 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 16:44:38 +0000 (0:00:00.022) 0:00:25.889 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 16:44:39 +0000 (0:00:01.365) 0:00:27.255 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 16:44:39 +0000 (0:00:00.037) 0:00:27.292 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 16:44:39 +0000 (0:00:00.021) 0:00:27.313 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 16:44:39 +0000 (0:00:00.037) 0:00:27.351 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 16:44:39 +0000 (0:00:00.035) 0:00:27.387 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 16:44:39 +0000 (0:00:00.040) 0:00:27.427 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 16:44:40 +0000 (0:00:00.406) 0:00:27.834 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 16:44:40 +0000 (0:00:00.626) 0:00:28.460 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=ad8de057-59cc-4642-ac90-825058fe99aa', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 16:44:41 +0000 (0:00:00.424) 0:00:28.884 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 16:44:41 +0000 (0:00:00.605) 0:00:29.490 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 16:44:42 +0000 (0:00:00.363) 0:00:29.853 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 16:44:42 +0000 (0:00:00.023) 0:00:29.877 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:47 Thursday 21 July 2022 16:44:43 +0000 (0:00:01.000) 0:00:30.878 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 16:44:43 +0000 (0:00:00.067) 0:00:30.945 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 16:44:43 +0000 (0:00:00.035) 0:00:30.981 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 16:44:43 +0000 (0:00:00.047) 0:00:31.029 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "ad8de057-59cc-4642-ac90-825058fe99aa" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-43-59-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 16:44:43 +0000 (0:00:00.381) 0:00:31.411 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003249", "end": "2022-07-21 12:44:43.182578", "rc": 0, "start": "2022-07-21 12:44:43.179329" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 UUID=ad8de057-59cc-4642-ac90-825058fe99aa /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.384) 0:00:31.795 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002759", "end": "2022-07-21 12:44:43.558735", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:44:43.555976" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.372) 0:00:32.167 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.022) 0:00:32.190 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme1n1'], '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/nvme1n1', '_raw_device': '/dev/nvme1n1', '_mount_id': 'UUID=ad8de057-59cc-4642-ac90-825058fe99aa', '_kernel_device': '/dev/nvme1n1', '_raw_kernel_device': '/dev/nvme1n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.058) 0:00:32.249 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.047) 0:00:32.296 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.076) 0:00:32.373 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.038) 0:00:32.411 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "ad8de057-59cc-4642-ac90-825058fe99aa" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "ad8de057-59cc-4642-ac90-825058fe99aa" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.057) 0:00:32.469 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.050) 0:00:32.519 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.047) 0:00:32.567 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.051) 0:00:32.619 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.023) 0:00:32.643 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.024) 0:00:32.667 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.023) 0:00:32.690 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:44:44 +0000 (0:00:00.038) 0:00:32.729 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=ad8de057-59cc-4642-ac90-825058fe99aa " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.071) 0:00:32.800 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.088) 0:00:32.889 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.076) 0:00:32.965 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.075) 0:00:33.041 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.036) 0:00:33.077 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.044) 0:00:33.122 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.051) 0:00:33.174 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658421866.5646834, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658421866.5646834, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1545, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658421866.5646834, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.385) 0:00:33.559 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.039) 0:00:33.599 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.042) 0:00:33.642 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.034) 0:00:33.677 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.025) 0:00:33.702 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.040) 0:00:33.742 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:44:45 +0000 (0:00:00.026) 0:00:33.769 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:44:47 +0000 (0:00:01.405) 0:00:35.174 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.025) 0:00:35.200 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.025) 0:00:35.225 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.050) 0:00:35.276 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.022) 0:00:35.299 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.023) 0:00:35.322 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.022) 0:00:35.345 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.022) 0:00:35.368 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.022) 0:00:35.391 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.051) 0:00:35.442 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.080) 0:00:35.522 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.035) 0:00:35.558 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.039) 0:00:35.597 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.035) 0:00:35.633 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.066) 0:00:35.699 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:44:47 +0000 (0:00:00.035) 0:00:35.735 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.067) 0:00:35.802 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.035) 0:00:35.838 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.034) 0:00:35.872 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.034) 0:00:35.907 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.070) 0:00:35.977 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.035) 0:00:36.013 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.023) 0:00:36.036 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.034) 0:00:36.070 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.039) 0:00:36.110 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.036) 0:00:36.146 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.036) 0:00:36.183 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.037) 0:00:36.220 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.035) 0:00:36.256 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.035) 0:00:36.291 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.037) 0:00:36.329 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.037) 0:00:36.367 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.032) 0:00:36.399 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.021) 0:00:36.421 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.023) 0:00:36.445 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.025) 0:00:36.470 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.023) 0:00:36.494 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.024) 0:00:36.518 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.024) 0:00:36.543 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.026) 0:00:36.569 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.024) 0:00:36.594 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.034) 0:00:36.629 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:49 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.036) 0:00:36.665 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.064) 0:00:36.730 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:44:48 +0000 (0:00:00.040) 0:00:36.771 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.523) 0:00:37.294 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.065) 0:00:37.360 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.035) 0:00:37.396 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.036) 0:00:37.432 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.057) 0:00:37.489 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.021) 0:00:37.511 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.029) 0:00:37.540 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.103) 0:00:37.643 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.039) 0:00:37.683 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.030) 0:00:37.713 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.029) 0:00:37.742 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 16:44:49 +0000 (0:00:00.026) 0:00:37.769 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 16:44:50 +0000 (0:00:00.026) 0:00:37.796 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:44:50 +0000 (0:00:00.057) 0:00:37.853 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 16:44:50 +0000 (0:00:00.023) 0:00:37.877 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "mounted" } ], "packages": [ "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 16:44:51 +0000 (0:00:01.321) 0:00:39.198 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 16:44:51 +0000 (0:00:00.038) 0:00:39.237 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 16:44:51 +0000 (0:00:00.023) 0:00:39.261 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "mounted" } ], "packages": [ "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 16:44:51 +0000 (0:00:00.039) 0:00:39.300 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 16:44:51 +0000 (0:00:00.039) 0:00:39.339 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 16:44:51 +0000 (0:00:00.039) 0:00:39.379 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 16:44:51 +0000 (0:00:00.042) 0:00:39.421 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 16:44:52 +0000 (0:00:00.622) 0:00:40.044 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=ad8de057-59cc-4642-ac90-825058fe99aa', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 16:44:52 +0000 (0:00:00.425) 0:00:40.469 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 16:44:53 +0000 (0:00:00.645) 0:00:41.114 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 16:44:53 +0000 (0:00:00.361) 0:00:41.475 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 16:44:53 +0000 (0:00:00.022) 0:00:41.497 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:59 Thursday 21 July 2022 16:44:54 +0000 (0:00:00.990) 0:00:42.488 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 16:44:54 +0000 (0:00:00.045) 0:00:42.533 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 16:44:54 +0000 (0:00:00.071) 0:00:42.605 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 16:44:54 +0000 (0:00:00.051) 0:00:42.657 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "ad8de057-59cc-4642-ac90-825058fe99aa" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-43-59-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 16:44:55 +0000 (0:00:00.382) 0:00:43.039 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003346", "end": "2022-07-21 12:44:54.819437", "rc": 0, "start": "2022-07-21 12:44:54.816091" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 UUID=ad8de057-59cc-4642-ac90-825058fe99aa /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 16:44:55 +0000 (0:00:00.392) 0:00:43.431 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002526", "end": "2022-07-21 12:44:55.199913", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:44:55.197387" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.377) 0:00:43.809 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.024) 0:00:43.833 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme1n1'], '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/nvme1n1', '_raw_device': '/dev/nvme1n1', '_mount_id': 'UUID=ad8de057-59cc-4642-ac90-825058fe99aa', '_kernel_device': '/dev/nvme1n1', '_raw_kernel_device': '/dev/nvme1n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.059) 0:00:43.893 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.048) 0:00:43.942 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.075) 0:00:44.017 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.038) 0:00:44.056 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "ad8de057-59cc-4642-ac90-825058fe99aa" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2592358, "block_size": 4096, "block_total": 2618880, "block_used": 26522, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 10618298368, "size_total": 10726932480, "uuid": "ad8de057-59cc-4642-ac90-825058fe99aa" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.057) 0:00:44.114 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.053) 0:00:44.168 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.057) 0:00:44.225 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.051) 0:00:44.277 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.025) 0:00:44.302 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.026) 0:00:44.329 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.025) 0:00:44.354 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.035) 0:00:44.390 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=ad8de057-59cc-4642-ac90-825058fe99aa " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.062) 0:00:44.452 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.047) 0:00:44.499 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.075) 0:00:44.574 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.034) 0:00:44.609 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.102) 0:00:44.711 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:44:56 +0000 (0:00:00.047) 0:00:44.759 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:44:57 +0000 (0:00:00.041) 0:00:44.800 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658421866.5646834, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658421866.5646834, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1545, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658421866.5646834, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:44:57 +0000 (0:00:00.389) 0:00:45.190 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 16:44:57 +0000 (0:00:00.040) 0:00:45.231 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 16:44:57 +0000 (0:00:00.041) 0:00:45.272 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 16:44:57 +0000 (0:00:00.038) 0:00:45.311 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 16:44:57 +0000 (0:00:00.026) 0:00:45.337 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:44:57 +0000 (0:00:00.038) 0:00:45.375 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:44:57 +0000 (0:00:00.024) 0:00:45.400 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:44:59 +0000 (0:00:01.430) 0:00:46.831 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.023) 0:00:46.854 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.022) 0:00:46.877 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.048) 0:00:46.926 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.023) 0:00:46.950 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.025) 0:00:46.975 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.029) 0:00:47.004 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.024) 0:00:47.029 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.023) 0:00:47.053 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.053) 0:00:47.107 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.051) 0:00:47.158 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.037) 0:00:47.196 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.037) 0:00:47.234 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.038) 0:00:47.272 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.038) 0:00:47.311 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.039) 0:00:47.351 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.038) 0:00:47.389 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.037) 0:00:47.427 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.041) 0:00:47.469 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.040) 0:00:47.509 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.038) 0:00:47.547 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.035) 0:00:47.583 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.024) 0:00:47.607 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.033) 0:00:47.641 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.033) 0:00:47.675 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:44:59 +0000 (0:00:00.069) 0:00:47.744 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.035) 0:00:47.779 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.034) 0:00:47.814 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.033) 0:00:47.847 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.036) 0:00:47.884 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.081) 0:00:47.965 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.037) 0:00:48.002 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.037) 0:00:48.039 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.025) 0:00:48.065 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.022) 0:00:48.087 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.023) 0:00:48.111 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.024) 0:00:48.136 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.023) 0:00:48.160 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.021) 0:00:48.182 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.021) 0:00:48.203 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.021) 0:00:48.225 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.038) 0:00:48.263 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:61 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.039) 0:00:48.302 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.065) 0:00:48.368 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:45:00 +0000 (0:00:00.035) 0:00:48.403 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.516) 0:00:48.920 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.061) 0:00:48.981 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.034) 0:00:49.016 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.032) 0:00:49.048 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.053) 0:00:49.102 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.020) 0:00:49.122 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.028) 0:00:49.150 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.036) 0:00:49.187 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "state": "absent", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.038) 0:00:49.226 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.029) 0:00:49.255 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.031) 0:00:49.286 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.031) 0:00:49.318 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.031) 0:00:49.350 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.059) 0:00:49.410 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 16:45:01 +0000 (0:00:00.023) 0:00:49.433 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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 } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 16:45:03 +0000 (0:00:01.755) 0:00:51.189 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 16:45:03 +0000 (0:00:00.036) 0:00:51.225 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 16:45:03 +0000 (0:00:00.021) 0:00:51.246 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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 } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 16:45:03 +0000 (0:00:00.037) 0:00:51.284 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 16:45:03 +0000 (0:00:00.034) 0:00:51.318 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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 } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 16:45:03 +0000 (0:00:00.039) 0:00:51.357 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': 'UUID=ad8de057-59cc-4642-ac90-825058fe99aa', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 16:45:03 +0000 (0:00:00.383) 0:00:51.740 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 16:45:04 +0000 (0:00:00.623) 0:00:52.364 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 16:45:04 +0000 (0:00:00.036) 0:00:52.401 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 16:45:05 +0000 (0:00:00.621) 0:00:53.023 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 16:45:05 +0000 (0:00:00.366) 0:00:53.390 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 16:45:05 +0000 (0:00:00.023) 0:00:53.413 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:72 Thursday 21 July 2022 16:45:06 +0000 (0:00:00.941) 0:00:54.354 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 16:45:06 +0000 (0:00:00.046) 0:00:54.401 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 16:45:06 +0000 (0:00:00.033) 0:00:54.434 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=ad8de057-59cc-4642-ac90-825058fe99aa", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "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 } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 16:45:06 +0000 (0:00:00.077) 0:00:54.512 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-43-59-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 16:45:07 +0000 (0:00:00.357) 0:00:54.870 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002433", "end": "2022-07-21 12:45:06.614016", "rc": 0, "start": "2022-07-21 12:45:06.611583" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 16:45:07 +0000 (0:00:00.353) 0:00:55.224 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003908", "end": "2022-07-21 12:45:06.996955", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:45:06.993047" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 16:45:07 +0000 (0:00:00.386) 0:00:55.610 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 16:45:07 +0000 (0:00:00.021) 0:00:55.631 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['nvme1n1'], '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/nvme1n1', '_raw_device': '/dev/nvme1n1', '_mount_id': 'UUID=ad8de057-59cc-4642-ac90-825058fe99aa'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 16:45:07 +0000 (0:00:00.055) 0:00:55.686 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 16:45:07 +0000 (0:00:00.046) 0:00:55.732 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.073) 0:00:55.806 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.038) 0:00:55.845 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.052) 0:00:55.897 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.023) 0:00:55.921 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.052) 0:00:55.974 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.043) 0:00:56.018 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.026) 0:00:56.044 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.024) 0:00:56.069 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.022) 0:00:56.091 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.034) 0:00:56.126 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.064) 0:00:56.190 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.025) 0:00:56.216 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.052) 0:00:56.269 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.035) 0:00:56.304 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.036) 0:00:56.341 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.024) 0:00:56.365 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.023) 0:00:56.389 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658421902.5126834, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658421902.5126834, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1545, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658421902.5126834, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:45:08 +0000 (0:00:00.382) 0:00:56.772 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 16:45:09 +0000 (0:00:00.099) 0:00:56.871 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 16:45:09 +0000 (0:00:00.025) 0:00:56.896 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 16:45:09 +0000 (0:00:00.038) 0:00:56.934 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 16:45:09 +0000 (0:00:00.027) 0:00:56.962 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:45:09 +0000 (0:00:00.024) 0:00:56.986 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:45:09 +0000 (0:00:00.023) 0:00:57.010 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:45:10 +0000 (0:00:01.345) 0:00:58.355 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.026) 0:00:58.382 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.027) 0:00:58.409 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.022) 0:00:58.432 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.026) 0:00:58.458 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.026) 0:00:58.485 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.027) 0:00:58.513 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.027) 0:00:58.540 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.029) 0:00:58.569 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.052) 0:00:58.622 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.048) 0:00:58.670 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.034) 0:00:58.704 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 16:45:10 +0000 (0:00:00.040) 0:00:58.745 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.035) 0:00:58.780 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.033) 0:00:58.813 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.034) 0:00:58.848 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.037) 0:00:58.886 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.034) 0:00:58.920 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.041) 0:00:58.962 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.034) 0:00:58.997 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.038) 0:00:59.035 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.035) 0:00:59.071 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.028) 0:00:59.099 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.044) 0:00:59.144 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.039) 0:00:59.183 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.034) 0:00:59.218 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.041) 0:00:59.259 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.035) 0:00:59.295 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.044) 0:00:59.339 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.042) 0:00:59.381 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.044) 0:00:59.426 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.071) 0:00:59.497 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.083) 0:00:59.580 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.024) 0:00:59.605 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.024) 0:00:59.630 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.025) 0:00:59.655 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.024) 0:00:59.679 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.026) 0:00:59.706 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.024) 0:00:59.730 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:45:11 +0000 (0:00:00.025) 0:00:59.755 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 16:45:12 +0000 (0:00:00.025) 0:00:59.781 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 16:45:12 +0000 (0:00:00.034) 0:00:59.816 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=261 changed=6 unreachable=0 failed=0 skipped=228 rescued=0 ignored=0 Thursday 21 July 2022 16:45:12 +0000 (0:00:00.048) 0:00:59.864 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ------- 1.92s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : get service facts ------------------- 1.91s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.76s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.64s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 1.44s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.43s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 1.41s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 1.41s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.37s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.35s /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount_nvme_generated.yml:3 --- Ensure cryptsetup is present -------------------------------------------- 1.35s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.32s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : Update facts ------------------------ 1.02s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 1.00s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmpmnqeja9w/tests/storage/tests_change_disk_mount.yml:2 ------------------ fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.94s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.84s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 fedora.linux_system_roles.storage : get required packages --------------- 0.73s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23