ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpq6mp_rlx executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_create_raid_volume_then_remove_nvme_generated.yml ************** 2 plays in /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove_nvme_generated.yml:3 Wednesday 06 July 2022 14:27:23 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove_nvme_generated.yml:7 Wednesday 06 July 2022 14:27:25 +0000 (0:00:01.335) 0:00:01.347 ******** ok: [/cache/centos-9.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/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove.yml:2 Wednesday 06 July 2022 14:27:25 +0000 (0:00:00.049) 0:00:01.397 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove.yml:10 Wednesday 06 July 2022 14:27:26 +0000 (0:00:00.999) 0:00:02.396 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 14:27:26 +0000 (0:00:00.035) 0:00:02.432 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 14:27:26 +0000 (0:00:00.033) 0:00:02.466 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 14:27:26 +0000 (0:00:00.522) 0:00:02.988 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 14:27:26 +0000 (0:00:00.065) 0:00:03.054 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 14:27:26 +0000 (0:00:00.030) 0:00:03.084 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 14:27:26 +0000 (0:00:00.030) 0:00:03.114 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 14:27:27 +0000 (0:00:00.046) 0:00:03.161 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 14:27:27 +0000 (0:00:00.018) 0:00:03.179 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 14:27:28 +0000 (0:00:01.361) 0:00:04.541 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 14:27:28 +0000 (0:00:00.034) 0:00:04.575 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 14:27:28 +0000 (0:00:00.031) 0:00:04.607 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 14:27:29 +0000 (0:00:00.736) 0:00:05.343 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 14:27:29 +0000 (0:00:00.047) 0:00:05.391 ******** TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 14:27:29 +0000 (0:00:00.036) 0:00:05.427 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 14:27:29 +0000 (0:00:00.037) 0:00:05.465 ******** TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 14:27:29 +0000 (0:00:00.036) 0:00:05.501 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 14:27:30 +0000 (0:00:00.955) 0:00:06.457 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 14:27:32 +0000 (0:00:01.780) 0:00:08.238 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 14:27:32 +0000 (0:00:00.100) 0:00:08.338 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 14:27:32 +0000 (0:00:00.022) 0:00:08.361 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 14:27:32 +0000 (0:00:00.536) 0:00:08.898 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 14:27:32 +0000 (0:00:00.037) 0:00:08.935 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 14:27:32 +0000 (0:00:00.020) 0:00:08.956 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 14:27:32 +0000 (0:00:00.034) 0:00:08.991 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 14:27:32 +0000 (0:00:00.032) 0:00:09.024 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 14:27:32 +0000 (0:00:00.033) 0:00:09.057 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 14:27:32 +0000 (0:00:00.033) 0:00:09.090 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 14:27:32 +0000 (0:00:00.025) 0:00:09.116 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 14:27:33 +0000 (0:00:00.036) 0:00:09.152 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 14:27:33 +0000 (0:00:00.022) 0:00:09.175 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 14:27:33 +0000 (0:00:00.520) 0:00:09.696 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 14:27:33 +0000 (0:00:00.021) 0:00:09.717 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove.yml:13 Wednesday 06 July 2022 14:27:34 +0000 (0:00:00.973) 0:00:10.691 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove.yml:20 Wednesday 06 July 2022 14:27:34 +0000 (0:00:00.043) 0:00:10.734 ******** included: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml for /cache/centos-9.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:2 Wednesday 06 July 2022 14:27:34 +0000 (0:00:00.038) 0:00:10.773 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "disks": [ "nvme0n1", "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:9 Wednesday 06 July 2022 14:27:35 +0000 (0:00:00.571) 0:00:11.344 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme0n1", "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:14 Wednesday 06 July 2022 14:27:35 +0000 (0:00:00.036) 0:00:11.381 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/get_unused_disk.yml:19 Wednesday 06 July 2022 14:27:35 +0000 (0:00:00.040) 0:00:11.421 ******** ok: [/cache/centos-9.qcow2.snap] => { "unused_disks": [ "nvme0n1", "nvme1n1" ] } TASK [Create a RAID0 device mounted on "/opt/test1"] *************************** task path: /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove.yml:24 Wednesday 06 July 2022 14:27:35 +0000 (0:00:00.039) 0:00:11.461 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 14:27:35 +0000 (0:00:00.043) 0:00:11.504 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 14:27:35 +0000 (0:00:00.065) 0:00:11.570 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 14:27:35 +0000 (0:00:00.520) 0:00:12.091 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.075) 0:00:12.166 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.037) 0:00:12.204 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.035) 0:00:12.239 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.048) 0:00:12.288 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.021) 0:00:12.309 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.030) 0:00:12.340 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.044) 0:00:12.384 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme0n1", "nvme1n1" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "type": "raid" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.050) 0:00:12.434 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.030) 0:00:12.464 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.028) 0:00:12.493 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.027) 0:00:12.521 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.029) 0:00:12.551 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.059) 0:00:12.610 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 14:27:36 +0000 (0:00:00.024) 0:00:12.635 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme1n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme1n1p1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme0n1p1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/test1", "fs_type": null }, { "action": "create format", "device": "/dev/md/test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/md/test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "mdadm" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 14:27:44 +0000 (0:00:07.695) 0:00:20.330 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 14:27:44 +0000 (0:00:00.035) 0:00:20.366 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 14:27:44 +0000 (0:00:00.021) 0:00:20.387 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme1n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme1n1p1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme0n1p1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/test1", "fs_type": null }, { "action": "create format", "device": "/dev/md/test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/md/test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "mdadm" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 14:27:44 +0000 (0:00:00.040) 0:00:20.428 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 14:27:44 +0000 (0:00:00.034) 0:00:20.462 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 14:27:44 +0000 (0:00:00.071) 0:00:20.533 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 14:27:44 +0000 (0:00:00.041) 0:00:20.575 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 14:27:45 +0000 (0:00:01.005) 0:00:21.580 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035', '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=fbc5c758-a015-42d4-bad2-8a8c83edf035", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 14:27:45 +0000 (0:00:00.525) 0:00:22.106 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 14:27:46 +0000 (0:00:00.666) 0:00:22.773 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 14:27:47 +0000 (0:00:00.384) 0:00:23.157 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 14:27:47 +0000 (0:00:00.023) 0:00:23.181 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove.yml:36 Wednesday 06 July 2022 14:27:48 +0000 (0:00:00.972) 0:00:24.153 ******** included: /tmp/tmpnhy4yzav/tests/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:1 Wednesday 06 July 2022 14:27:48 +0000 (0:00:00.043) 0:00:24.197 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 14:27:48 +0000 (0:00:00.036) 0:00:24.233 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 14:27:48 +0000 (0:00:00.050) 0:00:24.283 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "fbc5c758-a015-42d4-bad2-8a8c83edf035" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme0n1p1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/nvme0n1p1", "size": "10G", "type": "partition", "uuid": "a733856f-6a3f-5b1e-8850-92d9c8cc6756" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1p1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/nvme1n1p1", "size": "10G", "type": "partition", "uuid": "a733856f-6a3f-5b1e-8850-92d9c8cc6756" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-14-27-09-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:19 Wednesday 06 July 2022 14:27:48 +0000 (0:00:00.540) 0:00:24.824 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004123", "end": "2022-07-06 10:27:48.547844", "rc": 0, "start": "2022-07-06 10:27:48.543721" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 14:27:49 +0000 (0:00:00.528) 0:00:25.352 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003101", "end": "2022-07-06 10:27:48.979804", "failed_when_result": false, "rc": 0, "start": "2022-07-06 10:27:48.976703" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:33 Wednesday 06 July 2022 14:27:49 +0000 (0:00:00.433) 0:00:25.786 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 14:27:49 +0000 (0:00:00.021) 0:00:25.807 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:47 Wednesday 06 July 2022 14:27:49 +0000 (0:00:00.065) 0:00:25.873 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 0, 'state': 'present', 'type': 'raid', 'disks': ['nvme0n1', '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/md/test1', '_raw_device': '/dev/md/test1', '_mount_id': 'UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 14:27:49 +0000 (0:00:00.110) 0:00:25.983 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 14:27:49 +0000 (0:00:00.049) 0:00:26.033 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 14:27:49 +0000 (0:00:00.079) 0:00:26.112 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.040) 0:00:26.153 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "fbc5c758-a015-42d4-bad2-8a8c83edf035" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "fbc5c758-a015-42d4-bad2-8a8c83edf035" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.057) 0:00:26.211 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.052) 0:00:26.263 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.051) 0:00:26.314 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.049) 0:00:26.364 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.025) 0:00:26.390 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.026) 0:00:26.417 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.023) 0:00:26.441 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.032) 0:00:26.473 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.058) 0:00:26.532 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.052) 0:00:26.584 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.048) 0:00:26.632 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.033) 0:00:26.666 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.033) 0:00:26.699 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.037) 0:00:26.736 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 14:27:50 +0000 (0:00:00.039) 0:00:26.775 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657117663.446262, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657117663.446262, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 785, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657117663.446262, "nlink": 1, "path": "/dev/md/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 14:27:51 +0000 (0:00:00.383) 0:00:27.159 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 14:27:51 +0000 (0:00:00.039) 0:00:27.198 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 14:27:51 +0000 (0:00:00.038) 0:00:27.237 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 14:27:51 +0000 (0:00:00.036) 0:00:27.274 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 14:27:51 +0000 (0:00:00.038) 0:00:27.312 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 14:27:51 +0000 (0:00:00.040) 0:00:27.353 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 14:27:51 +0000 (0:00:00.023) 0:00:27.376 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.981) 0:00:28.358 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.024) 0:00:28.382 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.025) 0:00:28.407 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.050) 0:00:28.458 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.023) 0:00:28.481 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.024) 0:00:28.506 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.025) 0:00:28.532 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.024) 0:00:28.556 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.025) 0:00:28.581 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.057) 0:00:28.639 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.050) 0:00:28.689 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.035) 0:00:28.724 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.034) 0:00:28.759 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.037) 0:00:28.796 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 14:27:52 +0000 (0:00:00.031) 0:00:28.828 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.018170", "end": "2022-07-06 10:27:52.438219", "rc": 0, "start": "2022-07-06 10:27:52.420049" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Wed Jul 6 10:27:38 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 10:27:38 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : test1 UUID : a733856f:6a3f5b1e:885092d9:c8cc6756 Events : 0 Number Major Minor RaidDevice State 0 259 5 0 active sync /dev/nvme0n1p1 1 259 4 1 active sync /dev/nvme1n1p1 TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 14:27:53 +0000 (0:00:00.414) 0:00:29.242 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 14:27:53 +0000 (0:00:00.053) 0:00:29.295 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 14:27:53 +0000 (0:00:00.053) 0:00:29.348 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 14:27:53 +0000 (0:00:00.054) 0:00:29.402 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 14:27:53 +0000 (0:00:00.045) 0:00:29.448 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 14:27:53 +0000 (0:00:00.048) 0:00:29.497 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 14:27:53 +0000 (0:00:00.040) 0:00:29.537 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 14:27:53 +0000 (0:00:00.532) 0:00:30.070 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 14:27:53 +0000 (0:00:00.036) 0:00:30.107 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.036) 0:00:30.144 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.033) 0:00:30.177 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.035) 0:00:30.213 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.035) 0:00:30.248 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.036) 0:00:30.284 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.068) 0:00:30.353 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.035) 0:00:30.388 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.034) 0:00:30.423 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.035) 0:00:30.459 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.022) 0:00:30.482 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.022) 0:00:30.505 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.022) 0:00:30.528 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.024) 0:00:30.552 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.022) 0:00:30.575 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.022) 0:00:30.598 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.022) 0:00:30.621 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.024) 0:00:30.646 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.035) 0:00:30.681 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove.yml:38 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.033) 0:00:30.715 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.045) 0:00:30.760 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 14:27:54 +0000 (0:00:00.036) 0:00:30.796 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.546) 0:00:31.343 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.069) 0:00:31.412 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.032) 0:00:31.444 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.033) 0:00:31.478 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.046) 0:00:31.524 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.021) 0:00:31.546 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.029) 0:00:31.576 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.040) 0:00:31.616 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme0n1", "nvme1n1" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "type": "raid" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.035) 0:00:31.652 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.027) 0:00:31.680 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.027) 0:00:31.707 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.027) 0:00:31.735 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.029) 0:00:31.764 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.084) 0:00:31.849 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 14:27:55 +0000 (0:00:00.021) 0:00:31.870 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/md/test1", "/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=fbc5c758-a015-42d4-bad2-8a8c83edf035", "state": "mounted" } ], "packages": [ "mdadm", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 14:27:57 +0000 (0:00:01.477) 0:00:33.348 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 14:27:57 +0000 (0:00:00.039) 0:00:33.388 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 14:27:57 +0000 (0:00:00.024) 0:00:33.412 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/md/test1", "/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=fbc5c758-a015-42d4-bad2-8a8c83edf035", "state": "mounted" } ], "packages": [ "mdadm", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 14:27:57 +0000 (0:00:00.041) 0:00:33.453 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 14:27:57 +0000 (0:00:00.040) 0:00:33.494 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 14:27:57 +0000 (0:00:00.042) 0:00:33.536 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 14:27:57 +0000 (0:00:00.041) 0:00:33.577 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 14:27:58 +0000 (0:00:00.679) 0:00:34.257 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 14:27:58 +0000 (0:00:00.414) 0:00:34.672 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 14:27:59 +0000 (0:00:00.693) 0:00:35.365 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 14:27:59 +0000 (0:00:00.372) 0:00:35.737 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 14:27:59 +0000 (0:00:00.024) 0:00:35.761 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove.yml:50 Wednesday 06 July 2022 14:28:00 +0000 (0:00:00.970) 0:00:36.732 ******** included: /tmp/tmpnhy4yzav/tests/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:1 Wednesday 06 July 2022 14:28:00 +0000 (0:00:00.044) 0:00:36.777 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 14:28:00 +0000 (0:00:00.037) 0:00:36.815 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 14:28:00 +0000 (0:00:00.136) 0:00:36.952 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "fbc5c758-a015-42d4-bad2-8a8c83edf035" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme0n1p1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/nvme0n1p1", "size": "10G", "type": "partition", "uuid": "a733856f-6a3f-5b1e-8850-92d9c8cc6756" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1p1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/nvme1n1p1", "size": "10G", "type": "partition", "uuid": "a733856f-6a3f-5b1e-8850-92d9c8cc6756" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-14-27-09-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:19 Wednesday 06 July 2022 14:28:01 +0000 (0:00:00.377) 0:00:37.330 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003004", "end": "2022-07-06 10:28:00.901957", "rc": 0, "start": "2022-07-06 10:28:00.898953" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 14:28:01 +0000 (0:00:00.372) 0:00:37.702 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003035", "end": "2022-07-06 10:28:01.281578", "failed_when_result": false, "rc": 0, "start": "2022-07-06 10:28:01.278543" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:33 Wednesday 06 July 2022 14:28:01 +0000 (0:00:00.379) 0:00:38.081 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 14:28:01 +0000 (0:00:00.022) 0:00:38.104 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:47 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.036) 0:00:38.140 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 21453864960, 'state': 'present', 'type': 'raid', 'disks': ['nvme0n1', 'nvme1n1'], 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': '512 KiB', '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/md/test1', '_raw_device': '/dev/md/test1', '_mount_id': 'UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.066) 0:00:38.206 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.052) 0:00:38.259 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.076) 0:00:38.336 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.042) 0:00:38.378 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "fbc5c758-a015-42d4-bad2-8a8c83edf035" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "fbc5c758-a015-42d4-bad2-8a8c83edf035" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.054) 0:00:38.433 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.050) 0:00:38.483 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.052) 0:00:38.535 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.057) 0:00:38.593 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.026) 0:00:38.619 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.023) 0:00:38.643 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.026) 0:00:38.670 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.035) 0:00:38.705 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.062) 0:00:38.767 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.051) 0:00:38.819 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.050) 0:00:38.870 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.037) 0:00:38.908 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.068) 0:00:38.976 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.071) 0:00:39.048 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 14:28:02 +0000 (0:00:00.048) 0:00:39.096 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657117663.446262, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657117663.446262, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 785, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657117663.446262, "nlink": 1, "path": "/dev/md/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 14:28:03 +0000 (0:00:00.409) 0:00:39.506 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 14:28:03 +0000 (0:00:00.040) 0:00:39.546 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 14:28:03 +0000 (0:00:00.038) 0:00:39.584 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 14:28:03 +0000 (0:00:00.038) 0:00:39.623 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 14:28:03 +0000 (0:00:00.045) 0:00:39.668 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 14:28:03 +0000 (0:00:00.046) 0:00:39.715 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 14:28:03 +0000 (0:00:00.026) 0:00:39.741 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.876) 0:00:40.618 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.024) 0:00:40.642 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.026) 0:00:40.668 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.057) 0:00:40.726 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.025) 0:00:40.751 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.025) 0:00:40.776 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.025) 0:00:40.801 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.028) 0:00:40.830 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.025) 0:00:40.855 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.053) 0:00:40.909 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.055) 0:00:40.964 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.038) 0:00:41.002 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.037) 0:00:41.040 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.037) 0:00:41.078 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 14:28:04 +0000 (0:00:00.038) 0:00:41.116 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.006701", "end": "2022-07-06 10:28:04.712221", "rc": 0, "start": "2022-07-06 10:28:04.705520" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Wed Jul 6 10:27:38 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 10:27:38 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : test1 UUID : a733856f:6a3f5b1e:885092d9:c8cc6756 Events : 0 Number Major Minor RaidDevice State 0 259 5 0 active sync /dev/nvme0n1p1 1 259 4 1 active sync /dev/nvme1n1p1 TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 14:28:05 +0000 (0:00:00.396) 0:00:41.512 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 14:28:05 +0000 (0:00:00.055) 0:00:41.568 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 14:28:05 +0000 (0:00:00.057) 0:00:41.625 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 14:28:05 +0000 (0:00:00.091) 0:00:41.716 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 14:28:05 +0000 (0:00:00.056) 0:00:41.772 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 14:28:05 +0000 (0:00:00.055) 0:00:41.828 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 14:28:05 +0000 (0:00:00.096) 0:00:41.924 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.400) 0:00:42.325 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.038) 0:00:42.364 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.037) 0:00:42.402 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.074) 0:00:42.476 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.083) 0:00:42.559 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.038) 0:00:42.598 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.037) 0:00:42.636 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.039) 0:00:42.675 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.037) 0:00:42.712 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.037) 0:00:42.750 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.038) 0:00:42.789 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.025) 0:00:42.814 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.024) 0:00:42.839 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.025) 0:00:42.865 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.025) 0:00:42.890 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.026) 0:00:42.917 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.026) 0:00:42.943 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.025) 0:00:42.969 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.025) 0:00:42.994 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.038) 0:00:43.033 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the disk device created above] ************************************ task path: /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove.yml:52 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.034) 0:00:43.067 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 14:28:06 +0000 (0:00:00.055) 0:00:43.123 ******** included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.041) 0:00:43.164 ******** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.550) 0:00:43.714 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.074) 0:00:43.788 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.034) 0:00:43.822 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.035) 0:00:43.858 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.046) 0:00:43.905 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.020) 0:00:43.925 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.027) 0:00:43.953 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.037) 0:00:43.990 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme0n1", "nvme1n1" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "state": "absent", "type": "raid" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.042) 0:00:44.033 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.030) 0:00:44.063 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.028) 0:00:44.092 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 14:28:07 +0000 (0:00:00.029) 0:00:44.121 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 14:28:08 +0000 (0:00:00.076) 0:00:44.198 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 14:28:08 +0000 (0:00:00.057) 0:00:44.256 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 14:28:08 +0000 (0:00:00.023) 0:00:44.280 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/md/test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/md/test1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1p1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/nvme1n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/nvme0n1p1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 14:28:10 +0000 (0:00:02.008) 0:00:46.288 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 14:28:10 +0000 (0:00:00.038) 0:00:46.327 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 14:28:10 +0000 (0:00:00.022) 0:00:46.350 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/md/test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/md/test1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1p1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/nvme1n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/nvme0n1p1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 14:28:10 +0000 (0:00:00.041) 0:00:46.391 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 14:28:10 +0000 (0:00:00.036) 0:00:46.427 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 14:28:10 +0000 (0:00:00.038) 0:00:46.466 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=fbc5c758-a015-42d4-bad2-8a8c83edf035" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 14:28:10 +0000 (0:00:00.404) 0:00:46.871 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 14:28:11 +0000 (0:00:00.648) 0:00:47.520 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 14:28:11 +0000 (0:00:00.040) 0:00:47.560 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 14:28:12 +0000 (0:00:00.663) 0:00:48.224 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 14:28:12 +0000 (0:00:00.399) 0:00:48.623 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 14:28:12 +0000 (0:00:00.022) 0:00:48.646 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove.yml:65 Wednesday 06 July 2022 14:28:13 +0000 (0:00:00.956) 0:00:49.602 ******** included: /tmp/tmpnhy4yzav/tests/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:1 Wednesday 06 July 2022 14:28:13 +0000 (0:00:00.045) 0:00:49.648 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:6 Wednesday 06 July 2022 14:28:13 +0000 (0:00:00.037) 0:00:49.685 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:14 Wednesday 06 July 2022 14:28:13 +0000 (0:00:00.057) 0:00:49.742 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-14-27-09-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:19 Wednesday 06 July 2022 14:28:14 +0000 (0:00:00.433) 0:00:50.176 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003027", "end": "2022-07-06 10:28:13.792553", "rc": 0, "start": "2022-07-06 10:28:13.789526" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:24 Wednesday 06 July 2022 14:28:14 +0000 (0:00:00.414) 0:00:50.591 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003789", "end": "2022-07-06 10:28:14.175237", "failed_when_result": false, "rc": 0, "start": "2022-07-06 10:28:14.171448" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:33 Wednesday 06 July 2022 14:28:14 +0000 (0:00:00.386) 0:00:50.977 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:40 Wednesday 06 July 2022 14:28:14 +0000 (0:00:00.031) 0:00:51.008 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:47 Wednesday 06 July 2022 14:28:14 +0000 (0:00:00.035) 0:00:51.044 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 21453864960, 'state': 'absent', 'type': 'raid', 'disks': ['nvme0n1', 'nvme1n1'], 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': '512 KiB', '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': '', '_raw_device': '', '_mount_id': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 14:28:14 +0000 (0:00:00.064) 0:00:51.108 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.057) 0:00:51.166 ******** included: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.076) 0:00:51.242 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.041) 0:00:51.284 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.055) 0:00:51.340 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.025) 0:00:51.365 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.049) 0:00:51.415 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.036) 0:00:51.452 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.023) 0:00:51.475 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.025) 0:00:51.501 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.024) 0:00:51.526 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.036) 0:00:51.562 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.064) 0:00:51.626 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.025) 0:00:51.652 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.049) 0:00:51.701 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.037) 0:00:51.739 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.036) 0:00:51.775 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.025) 0:00:51.801 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 14:28:15 +0000 (0:00:00.022) 0:00:51.824 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 14:28:16 +0000 (0:00:00.394) 0:00:52.218 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 14:28:16 +0000 (0:00:00.114) 0:00:52.333 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 14:28:16 +0000 (0:00:00.025) 0:00:52.358 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 14:28:16 +0000 (0:00:00.035) 0:00:52.393 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 14:28:16 +0000 (0:00:00.039) 0:00:52.433 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 14:28:16 +0000 (0:00:00.024) 0:00:52.458 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 14:28:16 +0000 (0:00:00.024) 0:00:52.483 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.920) 0:00:53.403 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.023) 0:00:53.427 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.025) 0:00:53.452 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.022) 0:00:53.475 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.022) 0:00:53.498 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.022) 0:00:53.521 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.027) 0:00:53.548 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.027) 0:00:53.575 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.026) 0:00:53.602 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.056) 0:00:53.659 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.048) 0:00:53.708 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.035) 0:00:53.743 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.033) 0:00:53.776 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.035) 0:00:53.812 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.032) 0:00:53.844 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.035) 0:00:53.880 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.035) 0:00:53.915 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.036) 0:00:53.952 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.037) 0:00:53.990 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.036) 0:00:54.026 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.036) 0:00:54.063 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.038) 0:00:54.102 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 14:28:17 +0000 (0:00:00.023) 0:00:54.125 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.035) 0:00:54.160 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.035) 0:00:54.196 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.067) 0:00:54.263 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.036) 0:00:54.300 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.035) 0:00:54.335 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.038) 0:00:54.373 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.077) 0:00:54.451 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.039) 0:00:54.490 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.036) 0:00:54.526 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.035) 0:00:54.561 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.024) 0:00:54.585 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.022) 0:00:54.608 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.022) 0:00:54.630 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.022) 0:00:54.652 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.023) 0:00:54.676 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.022) 0:00:54.699 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.022) 0:00:54.721 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpnhy4yzav/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.022) 0:00:54.744 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpnhy4yzav/tests/verify-role-results.yml:57 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.034) 0:00:54.778 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=219 changed=4 unreachable=0 failed=0 skipped=161 rescued=0 ignored=0 Wednesday 06 July 2022 14:28:18 +0000 (0:00:00.043) 0:00:54.821 ******** =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 7.70s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.01s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.78s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.48s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 1.36s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Gathering Facts --------------------------------------------------------- 1.34s /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove_nvme_generated.yml:3 linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 1.01s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmpnhy4yzav/tests/tests_create_raid_volume_then_remove.yml:2 ------------- Ensure cryptsetup is present -------------------------------------------- 0.98s /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : Update facts ------------------------------- 0.97s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.97s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.97s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.96s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : make sure required packages are installed --- 0.96s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 0.92s /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 0.88s /tmp/tmpnhy4yzav/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : get required packages ---------------------- 0.74s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.69s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.68s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.67s /tmp/tmpnhy4yzav/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpq6mp_rlx executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_create_raid_volume_then_remove_nvme_generated.yml ************** 2 plays in /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove_nvme_generated.yml:3 Wednesday 06 July 2022 17:54:13 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove_nvme_generated.yml:7 Wednesday 06 July 2022 17:54:14 +0000 (0:00:01.317) 0:00:01.330 ******** ok: [/cache/centos-9.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/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove.yml:2 Wednesday 06 July 2022 17:54:14 +0000 (0:00:00.046) 0:00:01.376 ******** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove.yml:10 Wednesday 06 July 2022 17:54:15 +0000 (0:00:00.935) 0:00:02.311 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 17:54:15 +0000 (0:00:00.035) 0:00:02.347 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 17:54:15 +0000 (0:00:00.029) 0:00:02.376 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 17:54:16 +0000 (0:00:00.518) 0:00:02.895 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 17:54:16 +0000 (0:00:00.070) 0:00:02.966 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 17:54:16 +0000 (0:00:00.039) 0:00:03.005 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 17:54:16 +0000 (0:00:00.033) 0:00:03.038 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 17:54:16 +0000 (0:00:00.055) 0:00:03.094 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 17:54:16 +0000 (0:00:00.021) 0:00:03.115 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 17:54:17 +0000 (0:00:01.317) 0:00:04.433 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 17:54:17 +0000 (0:00:00.035) 0:00:04.469 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 17:54:17 +0000 (0:00:00.062) 0:00:04.531 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 17:54:18 +0000 (0:00:00.725) 0:00:05.256 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 17:54:18 +0000 (0:00:00.047) 0:00:05.304 ******** TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 17:54:18 +0000 (0:00:00.033) 0:00:05.337 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 17:54:18 +0000 (0:00:00.036) 0:00:05.373 ******** TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 17:54:18 +0000 (0:00:00.035) 0:00:05.408 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 17:54:19 +0000 (0:00:00.838) 0:00:06.247 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 17:54:21 +0000 (0:00:01.757) 0:00:08.004 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 17:54:21 +0000 (0:00:00.088) 0:00:08.093 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 17:54:21 +0000 (0:00:00.023) 0:00:08.116 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 17:54:21 +0000 (0:00:00.528) 0:00:08.645 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 17:54:21 +0000 (0:00:00.036) 0:00:08.681 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 17:54:21 +0000 (0:00:00.022) 0:00:08.703 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 17:54:21 +0000 (0:00:00.039) 0:00:08.742 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 17:54:21 +0000 (0:00:00.036) 0:00:08.779 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 17:54:21 +0000 (0:00:00.036) 0:00:08.815 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 17:54:22 +0000 (0:00:00.034) 0:00:08.850 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 17:54:22 +0000 (0:00:00.028) 0:00:08.879 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 17:54:22 +0000 (0:00:00.040) 0:00:08.920 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 17:54:22 +0000 (0:00:00.026) 0:00:08.946 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 17:54:22 +0000 (0:00:00.545) 0:00:09.491 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 17:54:22 +0000 (0:00:00.022) 0:00:09.513 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove.yml:13 Wednesday 06 July 2022 17:54:23 +0000 (0:00:00.972) 0:00:10.486 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove.yml:20 Wednesday 06 July 2022 17:54:23 +0000 (0:00:00.033) 0:00:10.519 ******** included: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml for /cache/centos-9.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:2 Wednesday 06 July 2022 17:54:23 +0000 (0:00:00.036) 0:00:10.556 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "disks": [ "nvme0n1", "nvme2n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:9 Wednesday 06 July 2022 17:54:24 +0000 (0:00:00.548) 0:00:11.104 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme0n1", "nvme2n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:14 Wednesday 06 July 2022 17:54:24 +0000 (0:00:00.036) 0:00:11.141 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/get_unused_disk.yml:19 Wednesday 06 July 2022 17:54:24 +0000 (0:00:00.039) 0:00:11.181 ******** ok: [/cache/centos-9.qcow2.snap] => { "unused_disks": [ "nvme0n1", "nvme2n1" ] } TASK [Create a RAID0 device mounted on "/opt/test1"] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove.yml:24 Wednesday 06 July 2022 17:54:24 +0000 (0:00:00.064) 0:00:11.245 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 17:54:24 +0000 (0:00:00.045) 0:00:11.291 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 17:54:24 +0000 (0:00:00.067) 0:00:11.358 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.529) 0:00:11.888 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.073) 0:00:11.962 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.037) 0:00:11.999 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.035) 0:00:12.035 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.054) 0:00:12.089 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.021) 0:00:12.111 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.029) 0:00:12.140 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.034) 0:00:12.175 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme0n1", "nvme2n1" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "type": "raid" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.039) 0:00:12.214 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.028) 0:00:12.243 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.029) 0:00:12.273 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.027) 0:00:12.301 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.026) 0:00:12.328 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.060) 0:00:12.389 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 17:54:25 +0000 (0:00:00.021) 0:00:12.411 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme2n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme2n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme2n1p1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme0n1p1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/test1", "fs_type": null }, { "action": "create format", "device": "/dev/md/test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/nvme1n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/md/test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=e08bb328-4573-456a-8132-10075aacea13", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "mdadm" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=e08bb328-4573-456a-8132-10075aacea13", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 17:54:33 +0000 (0:00:07.490) 0:00:19.901 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 17:54:33 +0000 (0:00:00.040) 0:00:19.942 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 17:54:33 +0000 (0:00:00.021) 0:00:19.963 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme2n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme2n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme2n1p1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme0n1p1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/test1", "fs_type": null }, { "action": "create format", "device": "/dev/md/test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/nvme1n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/md/test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=e08bb328-4573-456a-8132-10075aacea13", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "mdadm" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=e08bb328-4573-456a-8132-10075aacea13", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 17:54:33 +0000 (0:00:00.041) 0:00:20.005 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 17:54:33 +0000 (0:00:00.065) 0:00:20.070 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=e08bb328-4573-456a-8132-10075aacea13", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 17:54:33 +0000 (0:00:00.077) 0:00:20.147 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 17:54:33 +0000 (0:00:00.036) 0:00:20.184 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 17:54:34 +0000 (0:00:00.930) 0:00:21.114 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=e08bb328-4573-456a-8132-10075aacea13', '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=e08bb328-4573-456a-8132-10075aacea13", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=e08bb328-4573-456a-8132-10075aacea13" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 17:54:34 +0000 (0:00:00.534) 0:00:21.649 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 17:54:35 +0000 (0:00:00.660) 0:00:22.309 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 17:54:35 +0000 (0:00:00.389) 0:00:22.698 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 17:54:35 +0000 (0:00:00.025) 0:00:22.724 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove.yml:36 Wednesday 06 July 2022 17:54:36 +0000 (0:00:01.009) 0:00:23.733 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 17:54:36 +0000 (0:00:00.042) 0:00:23.776 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 17:54:36 +0000 (0:00:00.036) 0:00:23.813 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=e08bb328-4573-456a-8132-10075aacea13", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 17:54:37 +0000 (0:00:00.051) 0:00:23.865 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "e08bb328-4573-456a-8132-10075aacea13" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme0n1p1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/nvme0n1p1", "size": "10G", "type": "partition", "uuid": "e53bc28d-068b-5c0f-41c9-21f7de5b9479" }, "/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/nvme2n1p1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/nvme2n1p1", "size": "10G", "type": "partition", "uuid": "e53bc28d-068b-5c0f-41c9-21f7de5b9479" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-17-53-59-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 17:54:37 +0000 (0:00:00.507) 0:00:24.372 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004486", "end": "2022-07-06 13:54:39.208694", "rc": 0, "start": "2022-07-06 13:54:38.204208" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 UUID=e08bb328-4573-456a-8132-10075aacea13 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 17:54:39 +0000 (0:00:01.494) 0:00:25.867 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003149", "end": "2022-07-06 13:54:39.619966", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:54:39.616817" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 17:54:39 +0000 (0:00:00.418) 0:00:26.286 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 17:54:39 +0000 (0:00:00.026) 0:00:26.312 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 17:54:39 +0000 (0:00:00.037) 0:00:26.349 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 0, 'state': 'present', 'type': 'raid', 'disks': ['nvme0n1', 'nvme2n1'], '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/md/test1', '_raw_device': '/dev/md/test1', '_mount_id': 'UUID=e08bb328-4573-456a-8132-10075aacea13', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 17:54:39 +0000 (0:00:00.065) 0:00:26.415 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 17:54:39 +0000 (0:00:00.050) 0:00:26.466 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 17:54:39 +0000 (0:00:00.081) 0:00:26.547 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 17:54:39 +0000 (0:00:00.038) 0:00:26.585 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "e08bb328-4573-456a-8132-10075aacea13" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "e08bb328-4573-456a-8132-10075aacea13" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 17:54:39 +0000 (0:00:00.054) 0:00:26.639 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 17:54:39 +0000 (0:00:00.051) 0:00:26.691 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 17:54:39 +0000 (0:00:00.047) 0:00:26.738 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 17:54:39 +0000 (0:00:00.053) 0:00:26.791 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.026) 0:00:26.818 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.024) 0:00:26.843 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.023) 0:00:26.866 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.035) 0:00:26.902 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=e08bb328-4573-456a-8132-10075aacea13 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.067) 0:00:26.969 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.051) 0:00:27.020 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.054) 0:00:27.075 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.039) 0:00:27.115 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.034) 0:00:27.149 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.040) 0:00:27.189 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.050) 0:00:27.239 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657130073.190887, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657130073.190887, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 784, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657130073.190887, "nlink": 1, "path": "/dev/md/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.418) 0:00:27.658 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 17:54:40 +0000 (0:00:00.085) 0:00:27.743 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 17:54:41 +0000 (0:00:00.107) 0:00:27.851 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 17:54:41 +0000 (0:00:00.042) 0:00:27.894 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 17:54:41 +0000 (0:00:00.046) 0:00:27.940 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 17:54:41 +0000 (0:00:00.042) 0:00:27.982 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 17:54:41 +0000 (0:00:00.027) 0:00:28.010 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.919) 0:00:28.929 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.028) 0:00:28.958 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.026) 0:00:28.984 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.055) 0:00:29.040 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.025) 0:00:29.066 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.023) 0:00:29.089 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.023) 0:00:29.112 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.024) 0:00:29.137 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.024) 0:00:29.161 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.055) 0:00:29.216 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.057) 0:00:29.274 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.039) 0:00:29.313 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.038) 0:00:29.352 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.037) 0:00:29.389 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 17:54:42 +0000 (0:00:00.038) 0:00:29.428 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.006793", "end": "2022-07-06 13:54:43.161225", "rc": 0, "start": "2022-07-06 13:54:43.154432" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Wed Jul 6 13:54:27 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 13:54:27 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : test1 UUID : e53bc28d:068b5c0f:41c921f7:de5b9479 Events : 0 Number Major Minor RaidDevice State 0 259 3 0 active sync /dev/nvme0n1p1 1 259 4 1 active sync /dev/nvme2n1p1 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 17:54:43 +0000 (0:00:00.392) 0:00:29.821 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 17:54:43 +0000 (0:00:00.053) 0:00:29.874 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 17:54:43 +0000 (0:00:00.060) 0:00:29.935 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 17:54:43 +0000 (0:00:00.102) 0:00:30.037 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 17:54:43 +0000 (0:00:00.043) 0:00:30.081 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 17:54:43 +0000 (0:00:00.042) 0:00:30.123 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 17:54:43 +0000 (0:00:00.042) 0:00:30.166 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 17:54:43 +0000 (0:00:00.533) 0:00:30.699 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 17:54:43 +0000 (0:00:00.039) 0:00:30.738 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 17:54:43 +0000 (0:00:00.036) 0:00:30.775 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 17:54:43 +0000 (0:00:00.042) 0:00:30.818 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.036) 0:00:30.854 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.035) 0:00:30.890 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.035) 0:00:30.925 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.036) 0:00:30.961 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.074) 0:00:31.036 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.035) 0:00:31.072 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.039) 0:00:31.111 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.025) 0:00:31.137 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.029) 0:00:31.166 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.022) 0:00:31.189 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.022) 0:00:31.212 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.024) 0:00:31.236 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.022) 0:00:31.259 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.023) 0:00:31.282 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.023) 0:00:31.306 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.035) 0:00:31.341 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove.yml:38 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.034) 0:00:31.375 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.048) 0:00:31.424 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 17:54:44 +0000 (0:00:00.040) 0:00:31.464 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.533) 0:00:31.998 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.073) 0:00:32.071 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.035) 0:00:32.107 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.034) 0:00:32.142 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.056) 0:00:32.199 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.023) 0:00:32.222 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.029) 0:00:32.251 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.040) 0:00:32.292 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme0n1", "nvme2n1" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "type": "raid" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.041) 0:00:32.334 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.035) 0:00:32.369 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.030) 0:00:32.400 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.030) 0:00:32.430 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.030) 0:00:32.460 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.059) 0:00:32.520 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 17:54:45 +0000 (0:00:00.023) 0:00:32.544 ******** ok: [/cache/centos-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/md/test1", "/dev/nvme1n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=e08bb328-4573-456a-8132-10075aacea13", "state": "mounted" } ], "packages": [ "mdadm", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=e08bb328-4573-456a-8132-10075aacea13", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 17:54:47 +0000 (0:00:01.610) 0:00:34.154 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 17:54:47 +0000 (0:00:00.043) 0:00:34.197 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 17:54:47 +0000 (0:00:00.031) 0:00:34.228 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/md/test1", "/dev/nvme1n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=e08bb328-4573-456a-8132-10075aacea13", "state": "mounted" } ], "packages": [ "mdadm", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=e08bb328-4573-456a-8132-10075aacea13", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 17:54:47 +0000 (0:00:00.047) 0:00:34.276 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 17:54:47 +0000 (0:00:00.047) 0:00:34.323 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=e08bb328-4573-456a-8132-10075aacea13", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 17:54:47 +0000 (0:00:00.044) 0:00:34.368 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 17:54:47 +0000 (0:00:00.042) 0:00:34.410 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 17:54:48 +0000 (0:00:00.665) 0:00:35.075 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=e08bb328-4573-456a-8132-10075aacea13', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=e08bb328-4573-456a-8132-10075aacea13", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=e08bb328-4573-456a-8132-10075aacea13" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 17:54:48 +0000 (0:00:00.417) 0:00:35.493 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 17:54:49 +0000 (0:00:00.650) 0:00:36.143 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 17:54:49 +0000 (0:00:00.392) 0:00:36.536 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 17:54:49 +0000 (0:00:00.024) 0:00:36.561 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove.yml:50 Wednesday 06 July 2022 17:54:50 +0000 (0:00:00.979) 0:00:37.540 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 17:54:50 +0000 (0:00:00.044) 0:00:37.585 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 17:54:50 +0000 (0:00:00.037) 0:00:37.622 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=e08bb328-4573-456a-8132-10075aacea13", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 17:54:50 +0000 (0:00:00.130) 0:00:37.752 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "e08bb328-4573-456a-8132-10075aacea13" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme0n1p1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/nvme0n1p1", "size": "10G", "type": "partition", "uuid": "e53bc28d-068b-5c0f-41c9-21f7de5b9479" }, "/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/nvme2n1p1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/nvme2n1p1", "size": "10G", "type": "partition", "uuid": "e53bc28d-068b-5c0f-41c9-21f7de5b9479" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-17-53-59-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 17:54:51 +0000 (0:00:00.400) 0:00:38.153 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002816", "end": "2022-07-06 13:54:51.863991", "rc": 0, "start": "2022-07-06 13:54:51.861175" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 UUID=e08bb328-4573-456a-8132-10075aacea13 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 17:54:51 +0000 (0:00:00.365) 0:00:38.519 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003327", "end": "2022-07-06 13:54:52.229211", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:54:52.225884" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.367) 0:00:38.887 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.024) 0:00:38.911 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.044) 0:00:38.956 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 21453864960, 'state': 'present', 'type': 'raid', 'disks': ['nvme0n1', 'nvme2n1'], 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': '512 KiB', '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/md/test1', '_raw_device': '/dev/md/test1', '_mount_id': 'UUID=e08bb328-4573-456a-8132-10075aacea13', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.064) 0:00:39.021 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.049) 0:00:39.071 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.077) 0:00:39.148 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.041) 0:00:39.190 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "e08bb328-4573-456a-8132-10075aacea13" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "e08bb328-4573-456a-8132-10075aacea13" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.062) 0:00:39.252 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.053) 0:00:39.306 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.048) 0:00:39.355 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.048) 0:00:39.404 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.024) 0:00:39.428 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.023) 0:00:39.452 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.023) 0:00:39.476 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.031) 0:00:39.507 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=e08bb328-4573-456a-8132-10075aacea13 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.063) 0:00:39.570 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.049) 0:00:39.620 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.048) 0:00:39.668 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.035) 0:00:39.704 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 17:54:52 +0000 (0:00:00.069) 0:00:39.773 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 17:54:53 +0000 (0:00:00.071) 0:00:39.845 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 17:54:53 +0000 (0:00:00.076) 0:00:39.921 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657130073.190887, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657130073.190887, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 784, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657130073.190887, "nlink": 1, "path": "/dev/md/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 17:54:53 +0000 (0:00:00.420) 0:00:40.342 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 17:54:53 +0000 (0:00:00.040) 0:00:40.382 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 17:54:53 +0000 (0:00:00.040) 0:00:40.422 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 17:54:53 +0000 (0:00:00.038) 0:00:40.460 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 17:54:53 +0000 (0:00:00.040) 0:00:40.501 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 17:54:53 +0000 (0:00:00.041) 0:00:40.542 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 17:54:53 +0000 (0:00:00.026) 0:00:40.568 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 17:54:54 +0000 (0:00:00.875) 0:00:41.444 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 17:54:54 +0000 (0:00:00.025) 0:00:41.469 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 17:54:54 +0000 (0:00:00.024) 0:00:41.494 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 17:54:54 +0000 (0:00:00.053) 0:00:41.547 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 17:54:54 +0000 (0:00:00.023) 0:00:41.571 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 17:54:54 +0000 (0:00:00.023) 0:00:41.595 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 17:54:54 +0000 (0:00:00.032) 0:00:41.627 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 17:54:54 +0000 (0:00:00.027) 0:00:41.654 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 17:54:54 +0000 (0:00:00.025) 0:00:41.680 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 17:54:54 +0000 (0:00:00.051) 0:00:41.732 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 17:54:54 +0000 (0:00:00.052) 0:00:41.785 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 17:54:55 +0000 (0:00:00.035) 0:00:41.820 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 17:54:55 +0000 (0:00:00.037) 0:00:41.858 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 17:54:55 +0000 (0:00:00.037) 0:00:41.896 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 17:54:55 +0000 (0:00:00.037) 0:00:41.934 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.013446", "end": "2022-07-06 13:54:55.686090", "rc": 0, "start": "2022-07-06 13:54:55.672644" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Wed Jul 6 13:54:27 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 13:54:27 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : test1 UUID : e53bc28d:068b5c0f:41c921f7:de5b9479 Events : 0 Number Major Minor RaidDevice State 0 259 3 0 active sync /dev/nvme0n1p1 1 259 4 1 active sync /dev/nvme2n1p1 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 17:54:55 +0000 (0:00:00.412) 0:00:42.346 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 17:54:55 +0000 (0:00:00.052) 0:00:42.398 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 17:54:55 +0000 (0:00:00.050) 0:00:42.449 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 17:54:55 +0000 (0:00:00.079) 0:00:42.529 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 17:54:55 +0000 (0:00:00.053) 0:00:42.583 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 17:54:55 +0000 (0:00:00.081) 0:00:42.664 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 17:54:55 +0000 (0:00:00.082) 0:00:42.747 ******** ok: [/cache/centos-9.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.387) 0:00:43.134 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.036) 0:00:43.171 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.035) 0:00:43.207 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.093) 0:00:43.300 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.039) 0:00:43.339 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.039) 0:00:43.378 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.037) 0:00:43.416 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.041) 0:00:43.458 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.039) 0:00:43.497 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.038) 0:00:43.536 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.036) 0:00:43.572 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.026) 0:00:43.599 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.025) 0:00:43.624 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.027) 0:00:43.652 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.026) 0:00:43.679 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.026) 0:00:43.705 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.026) 0:00:43.732 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.023) 0:00:43.755 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 17:54:56 +0000 (0:00:00.026) 0:00:43.782 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.040) 0:00:43.823 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the disk device created above] ************************************ task path: /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove.yml:52 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.036) 0:00:43.859 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.058) 0:00:43.917 ******** included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.039) 0:00:43.957 ******** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.546) 0:00:44.503 ******** skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.078) 0:00:44.581 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.040) 0:00:44.622 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.035) 0:00:44.657 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.058) 0:00:44.716 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.022) 0:00:44.739 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.031) 0:00:44.770 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 17:54:57 +0000 (0:00:00.039) 0:00:44.809 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme0n1", "nvme2n1" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "state": "absent", "type": "raid" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 17:54:58 +0000 (0:00:00.041) 0:00:44.851 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 17:54:58 +0000 (0:00:00.029) 0:00:44.880 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 17:54:58 +0000 (0:00:00.027) 0:00:44.908 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 17:54:58 +0000 (0:00:00.027) 0:00:44.936 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 17:54:58 +0000 (0:00:00.065) 0:00:45.001 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 17:54:58 +0000 (0:00:00.057) 0:00:45.059 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 17:54:58 +0000 (0:00:00.021) 0:00:45.081 ******** changed: [/cache/centos-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/md/test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/md/test1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme2n1p1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/nvme2n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme2n1", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/nvme0n1p1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=e08bb328-4573-456a-8132-10075aacea13", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 17:55:00 +0000 (0:00:02.068) 0:00:47.149 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 17:55:00 +0000 (0:00:00.036) 0:00:47.185 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 17:55:00 +0000 (0:00:00.022) 0:00:47.207 ******** ok: [/cache/centos-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/md/test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/md/test1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme2n1p1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/nvme2n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme2n1", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/nvme0n1p1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sda", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=e08bb328-4573-456a-8132-10075aacea13", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 17:55:00 +0000 (0:00:00.041) 0:00:47.248 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 17:55:00 +0000 (0:00:00.039) 0:00:47.288 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 17:55:00 +0000 (0:00:00.038) 0:00:47.326 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-9.qcow2.snap] => (item={'src': 'UUID=e08bb328-4573-456a-8132-10075aacea13', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=e08bb328-4573-456a-8132-10075aacea13", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=e08bb328-4573-456a-8132-10075aacea13" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 17:55:00 +0000 (0:00:00.417) 0:00:47.744 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 17:55:01 +0000 (0:00:00.682) 0:00:48.427 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 17:55:01 +0000 (0:00:00.039) 0:00:48.467 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 17:55:02 +0000 (0:00:00.655) 0:00:49.122 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114115.7373767, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1654524050.107, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4194436, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1654523851.529, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "610860986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 17:55:02 +0000 (0:00:00.396) 0:00:49.518 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 17:55:02 +0000 (0:00:00.022) 0:00:49.541 ******** ok: [/cache/centos-9.qcow2.snap] META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove.yml:65 Wednesday 06 July 2022 17:55:03 +0000 (0:00:00.948) 0:00:50.490 ******** included: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml for /cache/centos-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 17:55:03 +0000 (0:00:00.046) 0:00:50.536 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 17:55:03 +0000 (0:00:00.037) 0:00:50.573 ******** ok: [/cache/centos-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1", "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 17:55:03 +0000 (0:00:00.085) 0:00:50.658 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-17-53-59-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "7e2b11b8-7ad7-4ea1-8ccb-c55a9090cba2" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "8ea8e052-f2d2-4f4b-8ff7-0b4eb5686df5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 17:55:04 +0000 (0:00:00.422) 0:00:51.081 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004888", "end": "2022-07-06 13:55:05.814286", "rc": 0, "start": "2022-07-06 13:55:04.809398" } STDOUT: # # /etc/fstab # Created by anaconda on Mon Jun 6 13:57:31 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737 / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 17:55:05 +0000 (0:00:01.395) 0:00:52.477 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003062", "end": "2022-07-06 13:55:06.202819", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:55:06.199757" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.383) 0:00:52.860 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.021) 0:00:52.881 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.035) 0:00:52.916 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml for /cache/centos-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 21453864960, 'state': 'absent', 'type': 'raid', 'disks': ['nvme0n1', 'nvme2n1'], 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': '512 KiB', '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': '', '_raw_device': '', '_mount_id': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.064) 0:00:52.981 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.055) 0:00:53.036 ******** included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml for /cache/centos-9.qcow2.snap => (item=mount) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml for /cache/centos-9.qcow2.snap => (item=fstab) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml for /cache/centos-9.qcow2.snap => (item=fs) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml for /cache/centos-9.qcow2.snap => (item=device) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml for /cache/centos-9.qcow2.snap => (item=encryption) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml for /cache/centos-9.qcow2.snap => (item=md) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml for /cache/centos-9.qcow2.snap => (item=size) included: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml for /cache/centos-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.077) 0:00:53.114 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.039) 0:00:53.154 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.061) 0:00:53.215 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.023) 0:00:53.239 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.050) 0:00:53.290 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.037) 0:00:53.327 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.028) 0:00:53.355 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.024) 0:00:53.380 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.024) 0:00:53.404 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.035) 0:00:53.439 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.062) 0:00:53.501 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.023) 0:00:53.525 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.076) 0:00:53.602 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.038) 0:00:53.640 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.067) 0:00:53.708 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.023) 0:00:53.731 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 17:55:06 +0000 (0:00:00.052) 0:00:53.784 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 17:55:07 +0000 (0:00:00.381) 0:00:54.165 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 17:55:07 +0000 (0:00:00.038) 0:00:54.203 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 17:55:07 +0000 (0:00:00.025) 0:00:54.229 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 17:55:07 +0000 (0:00:00.043) 0:00:54.272 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 17:55:07 +0000 (0:00:00.038) 0:00:54.311 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 17:55:07 +0000 (0:00:00.024) 0:00:54.335 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 17:55:07 +0000 (0:00:00.023) 0:00:54.359 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.887) 0:00:55.246 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.023) 0:00:55.269 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.022) 0:00:55.292 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.021) 0:00:55.314 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.021) 0:00:55.335 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.022) 0:00:55.357 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.021) 0:00:55.379 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.022) 0:00:55.401 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.022) 0:00:55.424 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.047) 0:00:55.472 ******** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.047) 0:00:55.519 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.035) 0:00:55.555 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.037) 0:00:55.592 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.037) 0:00:55.630 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.033) 0:00:55.663 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.036) 0:00:55.700 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.047) 0:00:55.747 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 17:55:08 +0000 (0:00:00.043) 0:00:55.791 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.039) 0:00:55.830 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.042) 0:00:55.872 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.043) 0:00:55.916 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.039) 0:00:55.956 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.024) 0:00:55.980 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.038) 0:00:56.019 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.044) 0:00:56.063 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.038) 0:00:56.102 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.037) 0:00:56.139 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.038) 0:00:56.178 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.045) 0:00:56.224 ******** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.038) 0:00:56.262 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.036) 0:00:56.298 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.074) 0:00:56.373 ******** ok: [/cache/centos-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.034) 0:00:56.407 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.023) 0:00:56.430 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.024) 0:00:56.455 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.026) 0:00:56.482 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.062) 0:00:56.545 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.026) 0:00:56.571 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.024) 0:00:56.596 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.025) 0:00:56.621 ******** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxpydj_h/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.025) 0:00:56.647 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.032) 0:00:56.679 ******** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=219 changed=4 unreachable=0 failed=0 skipped=161 rescued=0 ignored=0 Wednesday 06 July 2022 17:55:09 +0000 (0:00:00.046) 0:00:56.725 ******** =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 7.49s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.07s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 1.76s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.61s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Read the /etc/fstab file for volume existence --------------------------- 1.49s /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 --------------------- Read the /etc/fstab file for volume existence --------------------------- 1.40s /tmp/tmpaxpydj_h/tests/storage/verify-role-results.yml:19 --------------------- fedora.linux_system_roles.storage : make sure blivet is available ------- 1.32s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Gathering Facts --------------------------------------------------------- 1.32s /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove_nvme_generated.yml:3 fedora.linux_system_roles.storage : Update facts ------------------------ 1.01s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.98s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.95s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmpaxpydj_h/tests/storage/tests_create_raid_volume_then_remove.yml:2 ----- fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.93s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Ensure cryptsetup is present -------------------------------------------- 0.92s /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 0.89s /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 0.88s /tmp/tmpaxpydj_h/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 0.84s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 fedora.linux_system_roles.storage : get required packages --------------- 0.73s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.68s /tmp/tmpq6mp_rlx/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132