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/tmphvsi2pl0 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_change_disk_fs_nvme_generated.yml ****************************** 2 plays in /tmp/tmp8lr32tv2/tests/tests_change_disk_fs_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs_nvme_generated.yml:3 Thursday 21 July 2022 07:12:27 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs_nvme_generated.yml:7 Thursday 21 July 2022 07:12:29 +0000 (0:00:01.161) 0:00:01.173 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:2 Thursday 21 July 2022 07:12:29 +0000 (0:00:00.086) 0:00:01.259 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:11 Thursday 21 July 2022 07:12:29 +0000 (0:00:00.817) 0:00:02.077 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:12:29 +0000 (0:00:00.036) 0:00:02.113 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:12:30 +0000 (0:00:00.032) 0:00:02.145 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:12:30 +0000 (0:00:00.415) 0:00:02.561 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:12:30 +0000 (0:00:00.056) 0:00:02.618 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:12:30 +0000 (0:00:00.030) 0:00:02.649 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:12:30 +0000 (0:00:00.029) 0:00:02.679 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:12:30 +0000 (0:00:00.046) 0:00:02.725 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:12:30 +0000 (0:00:00.020) 0:00:02.745 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-enum34-1.0.4-1.el7.noarch providing python-enum34 is already installed", "1:python2-blivet3-3.1.3-3.el7.noarch providing python-blivet3 is already installed", "libblockdev-crypto-2.18-5.el7.x86_64 providing libblockdev-crypto is already installed", "libblockdev-dm-2.18-5.el7.x86_64 providing libblockdev-dm is already installed", "libblockdev-lvm-2.18-5.el7.x86_64 providing libblockdev-lvm is already installed", "libblockdev-mdraid-2.18-5.el7.x86_64 providing libblockdev-mdraid is already installed", "libblockdev-swap-2.18-5.el7.x86_64 providing libblockdev-swap is already installed" ] } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:12:31 +0000 (0:00:01.030) 0:00:03.775 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:12:31 +0000 (0:00:00.063) 0:00:03.839 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:12:31 +0000 (0:00:00.034) 0:00:03.873 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:12:32 +0000 (0:00:00.656) 0:00:04.530 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 07:12:32 +0000 (0:00:00.045) 0:00:04.576 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 07:12:32 +0000 (0:00:00.031) 0:00:04.607 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 07:12:32 +0000 (0:00:00.034) 0:00:04.642 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:12:32 +0000 (0:00:00.029) 0:00:04.672 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [] } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:12:33 +0000 (0:00:00.510) 0:00:05.182 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "services": { "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-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" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "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" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "exim.service": { "name": "exim.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" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "running", "status": "active" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "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" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.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" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "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" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "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": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "inactive", "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-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:12:34 +0000 (0:00:01.119) 0:00:06.302 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:12:34 +0000 (0:00:00.119) 0:00:06.421 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:12:34 +0000 (0:00:00.022) 0:00:06.443 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:12:34 +0000 (0:00:00.463) 0:00:06.907 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:12:34 +0000 (0:00:00.037) 0:00:06.945 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:12:34 +0000 (0:00:00.021) 0:00:06.967 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:12:34 +0000 (0:00:00.036) 0:00:07.004 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:12:34 +0000 (0:00:00.036) 0:00:07.040 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:12:34 +0000 (0:00:00.037) 0:00:07.078 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:12:34 +0000 (0:00:00.035) 0:00:07.113 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:12:35 +0000 (0:00:00.023) 0:00:07.137 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:12:35 +0000 (0:00:00.034) 0:00:07.172 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:12:35 +0000 (0:00:00.024) 0:00:07.197 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:12:35 +0000 (0:00:00.457) 0:00:07.655 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:12:35 +0000 (0:00:00.022) 0:00:07.678 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:14 Thursday 21 July 2022 07:12:36 +0000 (0:00:00.863) 0:00:08.541 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:21 Thursday 21 July 2022 07:12:36 +0000 (0:00:00.034) 0:00:08.576 ********* included: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml for /cache/centos-7.qcow2c.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:2 Thursday 21 July 2022 07:12:36 +0000 (0:00:00.036) 0:00:08.612 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:9 Thursday 21 July 2022 07:12:36 +0000 (0:00:00.452) 0:00:09.065 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:14 Thursday 21 July 2022 07:12:36 +0000 (0:00:00.037) 0:00:09.103 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:19 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.038) 0:00:09.142 ********* ok: [/cache/centos-7.qcow2c.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create a disk device with the default file system type] ****************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:26 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.067) 0:00:09.209 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.044) 0:00:09.254 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.034) 0:00:09.288 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.438) 0:00:09.727 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.062) 0:00:09.790 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.034) 0:00:09.824 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.037) 0:00:09.862 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.046) 0:00:09.909 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.022) 0:00:09.931 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.030) 0:00:09.962 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.036) 0:00:09.998 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.038) 0:00:10.036 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.030) 0:00:10.066 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.029) 0:00:10.095 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:12:37 +0000 (0:00:00.028) 0:00:10.123 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:12:38 +0000 (0:00:00.028) 0:00:10.152 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:12:38 +0000 (0:00:00.062) 0:00:10.214 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:12:38 +0000 (0:00:00.022) 0:00:10.236 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:12:39 +0000 (0:00:01.396) 0:00:11.633 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:12:39 +0000 (0:00:00.036) 0:00:11.670 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:12:39 +0000 (0:00:00.021) 0:00:11.692 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:12:39 +0000 (0:00:00.039) 0:00:11.731 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:12:39 +0000 (0:00:00.038) 0:00:11.769 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:12:39 +0000 (0:00:00.038) 0:00:11.807 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:12:39 +0000 (0:00:00.038) 0:00:11.846 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:12:40 +0000 (0:00:00.749) 0:00:12.596 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test', 'opts': 'defaults'}) => { "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/test", "src": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:12:40 +0000 (0:00:00.476) 0:00:13.072 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:12:41 +0000 (0:00:00.433) 0:00:13.506 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:12:41 +0000 (0:00:00.326) 0:00:13.832 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:12:41 +0000 (0:00:00.021) 0:00:13.853 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:36 Thursday 21 July 2022 07:12:42 +0000 (0:00:00.893) 0:00:14.746 ********* included: /tmp/tmp8lr32tv2/tests/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:12:42 +0000 (0:00:00.039) 0:00:14.786 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:12:42 +0000 (0:00:00.034) 0:00:14.820 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:12:42 +0000 (0:00:00.049) 0:00:14.870 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "63cf85ef-a05c-4fa8-88b0-de2aeec7df8b" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-12-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmp8lr32tv2/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:12:43 +0000 (0:00:00.395) 0:00:15.265 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003609", "end": "2022-07-21 07:12:42.947076", "rc": 0, "start": "2022-07-21 07:12:42.943467" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b /opt/test xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:12:43 +0000 (0:00:00.391) 0:00:15.657 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003341", "end": "2022-07-21 07:12:43.240386", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:12:43.237045" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:12:43 +0000 (0:00:00.293) 0:00:15.950 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:12:43 +0000 (0:00:00.020) 0:00:15.970 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:12:43 +0000 (0:00:00.056) 0:00:16.027 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:12:43 +0000 (0:00:00.046) 0:00:16.073 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.077) 0:00:16.151 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.040) 0:00:16.192 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "63cf85ef-a05c-4fa8-88b0-de2aeec7df8b" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "63cf85ef-a05c-4fa8-88b0-de2aeec7df8b" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.053) 0:00:16.245 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.047) 0:00:16.293 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.047) 0:00:16.340 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.047) 0:00:16.388 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.023) 0:00:16.411 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.022) 0:00:16.434 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.023) 0:00:16.457 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.032) 0:00:16.490 ********* ok: [/cache/centos-7.qcow2c.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=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b " ], "storage_test_fstab_mount_options_matches": [ " /opt/test xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.105) 0:00:16.596 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.104) 0:00:16.700 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.047) 0:00:16.748 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.034) 0:00:16.783 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.034) 0:00:16.817 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.035) 0:00:16.853 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:12:44 +0000 (0:00:00.041) 0:00:16.895 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387558.8829734, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658387558.8829734, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11499, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658387558.8829734, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.316) 0:00:17.212 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.037) 0:00:17.249 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.039) 0:00:17.289 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.044) 0:00:17.334 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.026) 0:00:17.360 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.046) 0:00:17.407 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.023) 0:00:17.430 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.516) 0:00:17.946 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.024) 0:00:17.971 ********* skipping: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.023) 0:00:17.994 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.053) 0:00:18.048 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.026) 0:00:18.074 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.025) 0:00:18.099 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:12:45 +0000 (0:00:00.024) 0:00:18.124 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.025) 0:00:18.149 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.024) 0:00:18.174 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.051) 0:00:18.225 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.049) 0:00:18.274 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.038) 0:00:18.313 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.036) 0:00:18.349 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.035) 0:00:18.385 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.034) 0:00:18.420 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.039) 0:00:18.460 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.036) 0:00:18.496 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.035) 0:00:18.532 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.035) 0:00:18.568 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.039) 0:00:18.607 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.036) 0:00:18.644 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.037) 0:00:18.682 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.024) 0:00:18.706 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.095) 0:00:18.801 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.035) 0:00:18.837 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.034) 0:00:18.871 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.035) 0:00:18.907 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.034) 0:00:18.942 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.034) 0:00:18.977 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.034) 0:00:19.011 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.035) 0:00:19.047 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.032) 0:00:19.080 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:12:46 +0000 (0:00:00.033) 0:00:19.113 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.022) 0:00:19.136 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.024) 0:00:19.160 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.022) 0:00:19.183 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.022) 0:00:19.206 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.023) 0:00:19.229 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.023) 0:00:19.253 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.022) 0:00:19.276 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.022) 0:00:19.298 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.033) 0:00:19.332 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device file system type to "ext4"] *********************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:38 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.041) 0:00:19.374 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.050) 0:00:19.424 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.036) 0:00:19.460 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.405) 0:00:19.866 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.060) 0:00:19.926 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.031) 0:00:19.957 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.032) 0:00:19.990 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.045) 0:00:20.035 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.019) 0:00:20.055 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.026) 0:00:20.081 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:12:47 +0000 (0:00:00.037) 0:00:20.118 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "fs_type": "ext4", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:12:48 +0000 (0:00:00.036) 0:00:20.155 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:12:48 +0000 (0:00:00.027) 0:00:20.183 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:12:48 +0000 (0:00:00.027) 0:00:20.210 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:12:48 +0000 (0:00:00.030) 0:00:20.241 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:12:48 +0000 (0:00:00.070) 0:00:20.311 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:12:48 +0000 (0:00:00.055) 0:00:20.366 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:12:48 +0000 (0:00:00.020) 0:00:20.387 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" }, { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test", "src": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:12:50 +0000 (0:00:01.759) 0:00:22.147 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:12:50 +0000 (0:00:00.037) 0:00:22.184 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:12:50 +0000 (0:00:00.020) 0:00:22.205 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" }, { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test", "src": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:12:50 +0000 (0:00:00.035) 0:00:22.240 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:12:50 +0000 (0:00:00.034) 0:00:22.274 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:12:50 +0000 (0:00:00.046) 0:00:22.321 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b', 'state': 'absent', 'path': '/opt/test', '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/test", "src": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=63cf85ef-a05c-4fa8-88b0-de2aeec7df8b" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:12:50 +0000 (0:00:00.330) 0:00:22.651 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:12:50 +0000 (0:00:00.440) 0:00:23.091 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503', 'dump': 0, 'passno': 0, 'fstype': 'ext4', 'state': 'mounted', 'path': '/opt/test', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:12:51 +0000 (0:00:00.344) 0:00:23.436 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:12:51 +0000 (0:00:00.434) 0:00:23.871 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:12:52 +0000 (0:00:00.310) 0:00:24.182 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:12:52 +0000 (0:00:00.022) 0:00:24.204 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:49 Thursday 21 July 2022 07:12:52 +0000 (0:00:00.896) 0:00:25.100 ********* included: /tmp/tmp8lr32tv2/tests/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:12:53 +0000 (0:00:00.069) 0:00:25.169 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:12:53 +0000 (0:00:00.035) 0:00:25.205 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:12:53 +0000 (0:00:00.049) 0:00:25.254 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "ext4", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "c64a0b79-d16d-453f-b85d-ac8ba2233503" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-12-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmp8lr32tv2/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:12:53 +0000 (0:00:00.332) 0:00:25.587 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003329", "end": "2022-07-21 07:12:53.184012", "rc": 0, "start": "2022-07-21 07:12:53.180683" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503 /opt/test ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:12:53 +0000 (0:00:00.307) 0:00:25.894 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003254", "end": "2022-07-21 07:12:53.493568", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:12:53.490314" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.310) 0:00:26.205 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.021) 0:00:26.227 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext4', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.058) 0:00:26.286 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.055) 0:00:26.342 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.080) 0:00:26.422 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.039) 0:00:26.462 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2403135, "block_size": 4096, "block_total": 2547525, "block_used": 144390, "device": "/dev/nvme1n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9843240960, "size_total": 10434662400, "uuid": "c64a0b79-d16d-453f-b85d-ac8ba2233503" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2403135, "block_size": 4096, "block_total": 2547525, "block_used": 144390, "device": "/dev/nvme1n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9843240960, "size_total": 10434662400, "uuid": "c64a0b79-d16d-453f-b85d-ac8ba2233503" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.060) 0:00:26.522 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.049) 0:00:26.572 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.048) 0:00:26.620 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.051) 0:00:26.672 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.023) 0:00:26.695 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.022) 0:00:26.718 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.022) 0:00:26.741 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.035) 0:00:26.777 ********* ok: [/cache/centos-7.qcow2c.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=c64a0b79-d16d-453f-b85d-ac8ba2233503 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.058) 0:00:26.835 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.048) 0:00:26.884 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.049) 0:00:26.933 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.037) 0:00:26.971 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:12:54 +0000 (0:00:00.075) 0:00:27.046 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:12:55 +0000 (0:00:00.111) 0:00:27.157 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:12:55 +0000 (0:00:00.037) 0:00:27.195 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387569.3969734, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658387569.3969734, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11499, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658387569.3969734, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:12:55 +0000 (0:00:00.329) 0:00:27.525 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:12:55 +0000 (0:00:00.051) 0:00:27.576 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:12:55 +0000 (0:00:00.048) 0:00:27.625 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:12:55 +0000 (0:00:00.044) 0:00:27.669 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:12:55 +0000 (0:00:00.032) 0:00:27.702 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:12:55 +0000 (0:00:00.039) 0:00:27.741 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:12:55 +0000 (0:00:00.024) 0:00:27.766 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.539) 0:00:28.306 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.023) 0:00:28.330 ********* skipping: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.023) 0:00:28.353 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.051) 0:00:28.404 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.023) 0:00:28.428 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.022) 0:00:28.451 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.022) 0:00:28.474 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.022) 0:00:28.496 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.023) 0:00:28.520 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.048) 0:00:28.568 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.047) 0:00:28.616 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.035) 0:00:28.652 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.035) 0:00:28.687 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.038) 0:00:28.726 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.042) 0:00:28.769 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.038) 0:00:28.807 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.036) 0:00:28.844 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.040) 0:00:28.885 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.038) 0:00:28.924 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.038) 0:00:28.962 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.036) 0:00:28.998 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.036) 0:00:29.035 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.023) 0:00:29.058 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:12:56 +0000 (0:00:00.036) 0:00:29.095 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.067) 0:00:29.162 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.034) 0:00:29.196 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.035) 0:00:29.232 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.038) 0:00:29.270 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.036) 0:00:29.307 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.035) 0:00:29.342 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.035) 0:00:29.378 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.037) 0:00:29.415 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.033) 0:00:29.449 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.023) 0:00:29.472 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.022) 0:00:29.494 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.023) 0:00:29.518 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.023) 0:00:29.541 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.022) 0:00:29.564 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.022) 0:00:29.587 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.024) 0:00:29.611 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.024) 0:00:29.636 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.032) 0:00:29.669 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:51 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.034) 0:00:29.704 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.050) 0:00:29.754 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:12:57 +0000 (0:00:00.035) 0:00:29.789 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.403) 0:00:30.193 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.059) 0:00:30.252 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.034) 0:00:30.286 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.032) 0:00:30.318 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.046) 0:00:30.365 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.020) 0:00:30.385 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.027) 0:00:30.412 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.035) 0:00:30.447 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "fs_type": "ext4", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.041) 0:00:30.489 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.027) 0:00:30.516 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.027) 0:00:30.544 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.027) 0:00:30.572 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.028) 0:00:30.600 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.091) 0:00:30.692 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:12:58 +0000 (0:00:00.021) 0:00:30.713 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:12:59 +0000 (0:00:01.119) 0:00:31.833 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:12:59 +0000 (0:00:00.035) 0:00:31.868 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:12:59 +0000 (0:00:00.020) 0:00:31.888 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:12:59 +0000 (0:00:00.039) 0:00:31.928 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:12:59 +0000 (0:00:00.034) 0:00:31.963 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:12:59 +0000 (0:00:00.036) 0:00:32.000 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:12:59 +0000 (0:00:00.036) 0:00:32.036 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:13:00 +0000 (0:00:00.448) 0:00:32.484 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503', 'dump': 0, 'passno': 0, 'fstype': 'ext4', 'state': 'mounted', 'path': '/opt/test', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:13:00 +0000 (0:00:00.328) 0:00:32.813 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:13:01 +0000 (0:00:00.442) 0:00:33.255 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:13:01 +0000 (0:00:00.311) 0:00:33.567 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:13:01 +0000 (0:00:00.021) 0:00:33.588 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:62 Thursday 21 July 2022 07:13:02 +0000 (0:00:00.859) 0:00:34.448 ********* included: /tmp/tmp8lr32tv2/tests/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:13:02 +0000 (0:00:00.045) 0:00:34.494 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:13:02 +0000 (0:00:00.036) 0:00:34.531 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:13:02 +0000 (0:00:00.054) 0:00:34.585 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "ext4", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "c64a0b79-d16d-453f-b85d-ac8ba2233503" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-12-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmp8lr32tv2/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:13:02 +0000 (0:00:00.315) 0:00:34.901 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004090", "end": "2022-07-21 07:13:02.534647", "rc": 0, "start": "2022-07-21 07:13:02.530557" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503 /opt/test ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.349) 0:00:35.251 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003596", "end": "2022-07-21 07:13:02.851096", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:13:02.847500" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.315) 0:00:35.566 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.022) 0:00:35.589 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext4', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.061) 0:00:35.650 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.049) 0:00:35.699 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.075) 0:00:35.775 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.042) 0:00:35.817 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2403135, "block_size": 4096, "block_total": 2547525, "block_used": 144390, "device": "/dev/nvme1n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9843240960, "size_total": 10434662400, "uuid": "c64a0b79-d16d-453f-b85d-ac8ba2233503" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2403135, "block_size": 4096, "block_total": 2547525, "block_used": 144390, "device": "/dev/nvme1n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9843240960, "size_total": 10434662400, "uuid": "c64a0b79-d16d-453f-b85d-ac8ba2233503" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.056) 0:00:35.873 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.052) 0:00:35.925 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.052) 0:00:35.978 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.050) 0:00:36.029 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.025) 0:00:36.054 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.024) 0:00:36.079 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:13:03 +0000 (0:00:00.025) 0:00:36.105 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.034) 0:00:36.140 ********* ok: [/cache/centos-7.qcow2c.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=c64a0b79-d16d-453f-b85d-ac8ba2233503 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.062) 0:00:36.202 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.053) 0:00:36.255 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.060) 0:00:36.316 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.040) 0:00:36.356 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.037) 0:00:36.393 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.041) 0:00:36.434 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.039) 0:00:36.474 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387569.3969734, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658387569.3969734, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11499, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658387569.3969734, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.322) 0:00:36.796 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.037) 0:00:36.834 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.037) 0:00:36.871 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.034) 0:00:36.905 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.023) 0:00:36.928 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.072) 0:00:37.001 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:13:04 +0000 (0:00:00.051) 0:00:37.053 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.532) 0:00:37.585 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.024) 0:00:37.610 ********* skipping: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.023) 0:00:37.634 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.052) 0:00:37.686 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.024) 0:00:37.711 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.024) 0:00:37.735 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.023) 0:00:37.759 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.025) 0:00:37.784 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.024) 0:00:37.808 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.051) 0:00:37.860 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.050) 0:00:37.910 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.040) 0:00:37.951 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.037) 0:00:37.988 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.035) 0:00:38.024 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.033) 0:00:38.058 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:13:05 +0000 (0:00:00.040) 0:00:38.098 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.036) 0:00:38.135 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.035) 0:00:38.170 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.035) 0:00:38.205 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.039) 0:00:38.245 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.047) 0:00:38.292 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.036) 0:00:38.329 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.024) 0:00:38.353 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.038) 0:00:38.392 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.035) 0:00:38.427 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.035) 0:00:38.462 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.035) 0:00:38.497 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.039) 0:00:38.537 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.036) 0:00:38.574 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.036) 0:00:38.611 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.035) 0:00:38.646 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.037) 0:00:38.684 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.034) 0:00:38.719 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.024) 0:00:38.743 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.023) 0:00:38.767 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.024) 0:00:38.791 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.023) 0:00:38.814 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.023) 0:00:38.838 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.024) 0:00:38.862 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.053) 0:00:38.915 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.024) 0:00:38.939 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.033) 0:00:38.973 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:64 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.034) 0:00:39.007 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.059) 0:00:39.067 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:13:06 +0000 (0:00:00.035) 0:00:39.103 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.419) 0:00:39.523 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.059) 0:00:39.582 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.032) 0:00:39.615 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.033) 0:00:39.648 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.047) 0:00:39.696 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.020) 0:00:39.716 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.030) 0:00:39.746 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.038) 0:00:39.785 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test", "name": "test1", "state": "absent", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.037) 0:00:39.823 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.028) 0:00:39.852 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.028) 0:00:39.880 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.030) 0:00:39.911 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.029) 0:00:39.940 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.057) 0:00:39.997 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:13:07 +0000 (0:00:00.022) 0:00:40.020 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:13:09 +0000 (0:00:01.393) 0:00:41.414 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:13:09 +0000 (0:00:00.035) 0:00:41.449 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:13:09 +0000 (0:00:00.022) 0:00:41.471 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:13:09 +0000 (0:00:00.039) 0:00:41.511 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:13:09 +0000 (0:00:00.037) 0:00:41.548 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:13:09 +0000 (0:00:00.039) 0:00:41.587 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503', 'state': 'absent', 'path': '/opt/test', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:13:09 +0000 (0:00:00.332) 0:00:41.920 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:13:10 +0000 (0:00:00.434) 0:00:42.355 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:13:10 +0000 (0:00:00.037) 0:00:42.392 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:13:10 +0000 (0:00:00.428) 0:00:42.821 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:13:10 +0000 (0:00:00.300) 0:00:43.121 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:13:11 +0000 (0:00:00.022) 0:00:43.143 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:75 Thursday 21 July 2022 07:13:11 +0000 (0:00:00.827) 0:00:43.971 ********* included: /tmp/tmp8lr32tv2/tests/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:13:11 +0000 (0:00:00.046) 0:00:44.018 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:13:11 +0000 (0:00:00.034) 0:00:44.052 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:13:11 +0000 (0:00:00.047) 0:00:44.100 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-12-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmp8lr32tv2/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:13:13 +0000 (0:00:01.302) 0:00:45.403 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003485", "end": "2022-07-21 07:13:12.987904", "rc": 0, "start": "2022-07-21 07:13:12.984419" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:13:13 +0000 (0:00:00.296) 0:00:45.699 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003246", "end": "2022-07-21 07:13:13.317657", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:13:13.314411" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:13:13 +0000 (0:00:00.329) 0:00:46.029 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:13:13 +0000 (0:00:00.021) 0:00:46.050 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext4', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'absent', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=c64a0b79-d16d-453f-b85d-ac8ba2233503', 'raid_spare_count': None, 'name': 'test1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:13:13 +0000 (0:00:00.056) 0:00:46.107 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.086) 0:00:46.193 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.101) 0:00:46.294 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.039) 0:00:46.334 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.052) 0:00:46.386 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.022) 0:00:46.409 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.048) 0:00:46.457 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.034) 0:00:46.491 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.022) 0:00:46.514 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.022) 0:00:46.537 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.023) 0:00:46.561 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.032) 0:00:46.594 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.060) 0:00:46.654 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.021) 0:00:46.676 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.047) 0:00:46.724 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.034) 0:00:46.759 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.033) 0:00:46.792 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.023) 0:00:46.816 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:13:14 +0000 (0:00:00.022) 0:00:46.838 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387588.6649735, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658387588.6649735, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11499, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658387588.6649735, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.299) 0:00:47.138 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.037) 0:00:47.175 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.022) 0:00:47.198 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.036) 0:00:47.234 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.023) 0:00:47.257 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.023) 0:00:47.280 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.023) 0:00:47.304 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.499) 0:00:47.803 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.023) 0:00:47.827 ********* skipping: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.023) 0:00:47.850 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.022) 0:00:47.872 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.022) 0:00:47.895 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.022) 0:00:47.918 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.050) 0:00:47.969 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.023) 0:00:47.992 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.023) 0:00:48.016 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.049) 0:00:48.065 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:13:15 +0000 (0:00:00.048) 0:00:48.114 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.034) 0:00:48.148 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.034) 0:00:48.183 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.034) 0:00:48.217 ********* ok: [/cache/centos-7.qcow2c.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/tmp8lr32tv2/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.034) 0:00:48.252 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.035) 0:00:48.287 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.036) 0:00:48.324 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.036) 0:00:48.360 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.038) 0:00:48.398 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.038) 0:00:48.436 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.037) 0:00:48.473 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.035) 0:00:48.508 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.023) 0:00:48.532 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.034) 0:00:48.567 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.034) 0:00:48.601 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.035) 0:00:48.636 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.038) 0:00:48.675 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.035) 0:00:48.711 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.035) 0:00:48.747 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.035) 0:00:48.783 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.039) 0:00:48.823 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.037) 0:00:48.860 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.038) 0:00:48.898 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.025) 0:00:48.924 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.026) 0:00:48.950 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.025) 0:00:48.976 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.025) 0:00:49.001 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.025) 0:00:49.026 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.026) 0:00:49.052 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.025) 0:00:49.077 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:13:16 +0000 (0:00:00.025) 0:00:49.103 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:13:17 +0000 (0:00:00.035) 0:00:49.138 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=261 changed=7 unreachable=0 failed=0 skipped=228 rescued=0 ignored=0 Thursday 21 July 2022 07:13:17 +0000 (0:00:00.047) 0:00:49.186 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.76s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.40s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.39s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Collect info about the volumes. ----------------------------------------- 1.30s /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 ----------------------------- Gathering Facts --------------------------------------------------------- 1.16s /tmp/tmp8lr32tv2/tests/tests_change_disk_fs_nvme_generated.yml:3 -------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.12s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.12s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : make sure blivet is available -------------- 1.03s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : Update facts ------------------------------- 0.90s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.89s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.86s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.86s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.83s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmp8lr32tv2/tests/tests_change_disk_fs.yml:2 ----------------------------- linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.75s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : get required packages ---------------------- 0.66s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Ensure cryptsetup is present -------------------------------------------- 0.54s /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 0.53s /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 0.52s /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 0.51s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 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/tmphvsi2pl0 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_change_disk_fs_nvme_generated.yml ****************************** 2 plays in /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs_nvme_generated.yml:3 Thursday 21 July 2022 10:03:00 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs_nvme_generated.yml:7 Thursday 21 July 2022 10:03:01 +0000 (0:00:01.130) 0:00:01.142 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:2 Thursday 21 July 2022 10:03:01 +0000 (0:00:00.096) 0:00:01.239 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:11 Thursday 21 July 2022 10:03:02 +0000 (0:00:00.826) 0:00:02.066 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 10:03:02 +0000 (0:00:00.036) 0:00:02.102 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 10:03:02 +0000 (0:00:00.032) 0:00:02.135 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 10:03:02 +0000 (0:00:00.397) 0:00:02.532 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 10:03:02 +0000 (0:00:00.056) 0:00:02.588 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 10:03:02 +0000 (0:00:00.031) 0:00:02.620 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 10:03:02 +0000 (0:00:00.033) 0:00:02.653 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 10:03:02 +0000 (0:00:00.052) 0:00:02.706 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 10:03:02 +0000 (0:00:00.018) 0:00:02.725 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-enum34-1.0.4-1.el7.noarch providing python-enum34 is already installed", "1:python2-blivet3-3.1.3-3.el7.noarch providing python-blivet3 is already installed", "libblockdev-crypto-2.18-5.el7.x86_64 providing libblockdev-crypto is already installed", "libblockdev-dm-2.18-5.el7.x86_64 providing libblockdev-dm is already installed", "libblockdev-lvm-2.18-5.el7.x86_64 providing libblockdev-lvm is already installed", "libblockdev-mdraid-2.18-5.el7.x86_64 providing libblockdev-mdraid is already installed", "libblockdev-swap-2.18-5.el7.x86_64 providing libblockdev-swap is already installed" ] } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 10:03:04 +0000 (0:00:01.012) 0:00:03.737 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 10:03:04 +0000 (0:00:00.034) 0:00:03.771 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 10:03:04 +0000 (0:00:00.034) 0:00:03.805 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 10:03:04 +0000 (0:00:00.635) 0:00:04.441 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 10:03:04 +0000 (0:00:00.051) 0:00:04.493 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 10:03:04 +0000 (0:00:00.039) 0:00:04.533 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 10:03:04 +0000 (0:00:00.034) 0:00:04.568 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 10:03:04 +0000 (0:00:00.029) 0:00:04.597 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [] } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 10:03:05 +0000 (0:00:00.543) 0:00:05.141 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "services": { "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-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" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "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" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "exim.service": { "name": "exim.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" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "running", "status": "active" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "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" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.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" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "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" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "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": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "inactive", "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-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 10:03:06 +0000 (0:00:01.115) 0:00:06.256 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 10:03:06 +0000 (0:00:00.080) 0:00:06.336 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 10:03:06 +0000 (0:00:00.054) 0:00:06.391 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.471) 0:00:06.862 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.038) 0:00:06.900 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.022) 0:00:06.923 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.036) 0:00:06.960 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.036) 0:00:06.996 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.039) 0:00:07.035 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.036) 0:00:07.071 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.025) 0:00:07.096 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.035) 0:00:07.132 ********* skipping: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.025) 0:00:07.157 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.442) 0:00:07.599 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 10:03:07 +0000 (0:00:00.022) 0:00:07.622 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:14 Thursday 21 July 2022 10:03:08 +0000 (0:00:00.835) 0:00:08.458 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:21 Thursday 21 July 2022 10:03:08 +0000 (0:00:00.033) 0:00:08.491 ********* included: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml for /cache/centos-7.qcow2c.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 10:03:08 +0000 (0:00:00.037) 0:00:08.529 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 10:03:09 +0000 (0:00:00.444) 0:00:08.973 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 10:03:09 +0000 (0:00:00.069) 0:00:09.043 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 10:03:09 +0000 (0:00:00.039) 0:00:09.082 ********* ok: [/cache/centos-7.qcow2c.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create a disk device with the default file system type] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:26 Thursday 21 July 2022 10:03:09 +0000 (0:00:00.064) 0:00:09.147 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 10:03:09 +0000 (0:00:00.045) 0:00:09.192 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 10:03:09 +0000 (0:00:00.034) 0:00:09.227 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 10:03:09 +0000 (0:00:00.405) 0:00:09.632 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 10:03:09 +0000 (0:00:00.061) 0:00:09.693 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 10:03:09 +0000 (0:00:00.032) 0:00:09.726 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.035) 0:00:09.762 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.054) 0:00:09.816 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.022) 0:00:09.839 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.028) 0:00:09.868 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.037) 0:00:09.905 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.035) 0:00:09.941 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.026) 0:00:09.967 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.027) 0:00:09.995 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.030) 0:00:10.025 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.026) 0:00:10.052 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.057) 0:00:10.109 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 10:03:10 +0000 (0:00:00.021) 0:00:10.131 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 10:03:11 +0000 (0:00:01.309) 0:00:11.440 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 10:03:11 +0000 (0:00:00.035) 0:00:11.476 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 10:03:11 +0000 (0:00:00.020) 0:00:11.497 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 10:03:11 +0000 (0:00:00.063) 0:00:11.561 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 10:03:11 +0000 (0:00:00.063) 0:00:11.624 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 10:03:11 +0000 (0:00:00.065) 0:00:11.689 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 10:03:12 +0000 (0:00:00.094) 0:00:11.784 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 10:03:12 +0000 (0:00:00.694) 0:00:12.478 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test', 'opts': 'defaults'}) => { "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/test", "src": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 10:03:13 +0000 (0:00:00.455) 0:00:12.934 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 10:03:13 +0000 (0:00:00.447) 0:00:13.382 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 10:03:13 +0000 (0:00:00.330) 0:00:13.712 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 10:03:14 +0000 (0:00:00.021) 0:00:13.734 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:36 Thursday 21 July 2022 10:03:14 +0000 (0:00:00.855) 0:00:14.589 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 10:03:14 +0000 (0:00:00.039) 0:00:14.629 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 10:03:14 +0000 (0:00:00.036) 0:00:14.666 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 10:03:14 +0000 (0:00:00.051) 0:00:14.717 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "86ca18db-4c43-4f08-ac48-930a283b6a0e" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-10-02-46-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmptuh8_vrz/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 10:03:15 +0000 (0:00:00.430) 0:00:15.147 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003249", "end": "2022-07-21 10:03:15.598709", "rc": 0, "start": "2022-07-21 10:03:15.595460" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e /opt/test xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 10:03:15 +0000 (0:00:00.430) 0:00:15.578 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003503", "end": "2022-07-21 10:03:15.918519", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:03:15.915016" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.320) 0:00:15.899 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.020) 0:00:15.920 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.055) 0:00:15.976 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.076) 0:00:16.052 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.079) 0:00:16.132 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.038) 0:00:16.170 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "86ca18db-4c43-4f08-ac48-930a283b6a0e" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "86ca18db-4c43-4f08-ac48-930a283b6a0e" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.057) 0:00:16.228 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.048) 0:00:16.277 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.049) 0:00:16.327 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.048) 0:00:16.376 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.022) 0:00:16.398 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.024) 0:00:16.422 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.026) 0:00:16.448 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.033) 0:00:16.482 ********* ok: [/cache/centos-7.qcow2c.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=86ca18db-4c43-4f08-ac48-930a283b6a0e " ], "storage_test_fstab_mount_options_matches": [ " /opt/test xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.061) 0:00:16.544 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.049) 0:00:16.593 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.050) 0:00:16.644 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.039) 0:00:16.683 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 10:03:16 +0000 (0:00:00.035) 0:00:16.718 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 10:03:17 +0000 (0:00:00.050) 0:00:16.769 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 10:03:17 +0000 (0:00:00.045) 0:00:16.814 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658397791.4271564, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658397791.4271564, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11529, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658397791.4271564, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 10:03:17 +0000 (0:00:00.337) 0:00:17.152 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 10:03:17 +0000 (0:00:00.036) 0:00:17.189 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 10:03:17 +0000 (0:00:00.037) 0:00:17.226 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 10:03:17 +0000 (0:00:00.032) 0:00:17.259 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 10:03:17 +0000 (0:00:00.024) 0:00:17.283 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 10:03:17 +0000 (0:00:00.039) 0:00:17.323 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 10:03:17 +0000 (0:00:00.023) 0:00:17.346 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.518) 0:00:17.865 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.067) 0:00:17.932 ********* skipping: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.025) 0:00:17.958 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.052) 0:00:18.010 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.023) 0:00:18.033 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.025) 0:00:18.059 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.025) 0:00:18.084 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.024) 0:00:18.109 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.023) 0:00:18.132 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.050) 0:00:18.182 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.046) 0:00:18.229 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.036) 0:00:18.265 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.035) 0:00:18.301 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.035) 0:00:18.336 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.035) 0:00:18.372 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.037) 0:00:18.410 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.037) 0:00:18.447 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.035) 0:00:18.483 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.038) 0:00:18.521 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.036) 0:00:18.558 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.039) 0:00:18.597 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.037) 0:00:18.635 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.024) 0:00:18.660 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 10:03:18 +0000 (0:00:00.036) 0:00:18.696 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.037) 0:00:18.734 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.036) 0:00:18.770 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.038) 0:00:18.808 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.037) 0:00:18.846 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.038) 0:00:18.885 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.038) 0:00:18.923 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.035) 0:00:18.958 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.037) 0:00:18.996 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.038) 0:00:19.035 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.024) 0:00:19.059 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.024) 0:00:19.084 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.023) 0:00:19.107 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.024) 0:00:19.131 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.023) 0:00:19.155 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.025) 0:00:19.180 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.023) 0:00:19.203 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.025) 0:00:19.229 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.033) 0:00:19.262 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device file system type to "ext4"] *********************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:38 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.069) 0:00:19.331 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.107) 0:00:19.439 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 10:03:19 +0000 (0:00:00.037) 0:00:19.477 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.424) 0:00:19.901 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.066) 0:00:19.968 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.036) 0:00:20.004 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.044) 0:00:20.048 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.056) 0:00:20.105 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.021) 0:00:20.126 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.029) 0:00:20.156 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.038) 0:00:20.195 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "fs_type": "ext4", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.040) 0:00:20.235 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.028) 0:00:20.264 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.028) 0:00:20.292 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.027) 0:00:20.319 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.026) 0:00:20.345 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.058) 0:00:20.403 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 10:03:20 +0000 (0:00:00.021) 0:00:20.425 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" }, { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test", "src": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 10:03:22 +0000 (0:00:01.822) 0:00:22.247 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 10:03:22 +0000 (0:00:00.038) 0:00:22.286 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 10:03:22 +0000 (0:00:00.024) 0:00:22.310 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" }, { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test", "src": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 10:03:22 +0000 (0:00:00.040) 0:00:22.351 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 10:03:22 +0000 (0:00:00.037) 0:00:22.388 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 10:03:22 +0000 (0:00:00.070) 0:00:22.459 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e', 'state': 'absent', 'path': '/opt/test', '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/test", "src": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=86ca18db-4c43-4f08-ac48-930a283b6a0e" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 10:03:23 +0000 (0:00:00.336) 0:00:22.795 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 10:03:23 +0000 (0:00:00.438) 0:00:23.234 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=15199176-fdac-40c4-a943-d99b6fc56575', 'dump': 0, 'passno': 0, 'fstype': 'ext4', 'state': 'mounted', 'path': '/opt/test', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 10:03:23 +0000 (0:00:00.393) 0:00:23.628 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 10:03:24 +0000 (0:00:00.427) 0:00:24.055 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 10:03:24 +0000 (0:00:00.310) 0:00:24.366 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 10:03:24 +0000 (0:00:00.023) 0:00:24.389 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:49 Thursday 21 July 2022 10:03:25 +0000 (0:00:00.834) 0:00:25.224 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 10:03:25 +0000 (0:00:00.041) 0:00:25.266 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 10:03:25 +0000 (0:00:00.035) 0:00:25.302 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 10:03:25 +0000 (0:00:00.047) 0:00:25.349 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "ext4", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "15199176-fdac-40c4-a943-d99b6fc56575" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-10-02-46-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmptuh8_vrz/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 10:03:25 +0000 (0:00:00.320) 0:00:25.669 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003605", "end": "2022-07-21 10:03:25.996412", "rc": 0, "start": "2022-07-21 10:03:25.992807" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=15199176-fdac-40c4-a943-d99b6fc56575 /opt/test ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 10:03:26 +0000 (0:00:00.307) 0:00:25.976 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003304", "end": "2022-07-21 10:03:26.303198", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:03:26.299894" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 10:03:26 +0000 (0:00:00.306) 0:00:26.283 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 10:03:26 +0000 (0:00:00.022) 0:00:26.306 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext4', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=15199176-fdac-40c4-a943-d99b6fc56575', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 10:03:26 +0000 (0:00:00.066) 0:00:26.372 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 10:03:26 +0000 (0:00:00.100) 0:00:26.472 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 10:03:26 +0000 (0:00:00.108) 0:00:26.581 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 10:03:26 +0000 (0:00:00.039) 0:00:26.620 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2403135, "block_size": 4096, "block_total": 2547525, "block_used": 144390, "device": "/dev/nvme1n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9843240960, "size_total": 10434662400, "uuid": "15199176-fdac-40c4-a943-d99b6fc56575" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2403135, "block_size": 4096, "block_total": 2547525, "block_used": 144390, "device": "/dev/nvme1n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9843240960, "size_total": 10434662400, "uuid": "15199176-fdac-40c4-a943-d99b6fc56575" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 10:03:26 +0000 (0:00:00.055) 0:00:26.675 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.053) 0:00:26.729 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.049) 0:00:26.778 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.054) 0:00:26.833 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.025) 0:00:26.859 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.023) 0:00:26.882 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.022) 0:00:26.904 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.032) 0:00:26.937 ********* ok: [/cache/centos-7.qcow2c.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=15199176-fdac-40c4-a943-d99b6fc56575 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.064) 0:00:27.002 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.048) 0:00:27.051 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.047) 0:00:27.098 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.034) 0:00:27.133 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.033) 0:00:27.166 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.039) 0:00:27.206 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.041) 0:00:27.247 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658397802.2311566, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658397802.2311566, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11529, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658397802.2311566, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.309) 0:00:27.556 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.040) 0:00:27.597 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.039) 0:00:27.636 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.036) 0:00:27.673 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 10:03:27 +0000 (0:00:00.024) 0:00:27.697 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.039) 0:00:27.737 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.024) 0:00:27.761 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.506) 0:00:28.268 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.024) 0:00:28.293 ********* skipping: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.023) 0:00:28.316 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.053) 0:00:28.370 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.025) 0:00:28.395 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.025) 0:00:28.420 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.024) 0:00:28.445 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.025) 0:00:28.470 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.024) 0:00:28.495 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.083) 0:00:28.579 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 10:03:28 +0000 (0:00:00.111) 0:00:28.691 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.037) 0:00:28.729 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.037) 0:00:28.766 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.036) 0:00:28.802 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.048) 0:00:28.851 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.039) 0:00:28.891 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.036) 0:00:28.927 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.038) 0:00:28.966 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.042) 0:00:29.009 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.038) 0:00:29.048 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.037) 0:00:29.085 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.037) 0:00:29.122 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.026) 0:00:29.149 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.042) 0:00:29.191 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.042) 0:00:29.234 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.038) 0:00:29.273 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.040) 0:00:29.314 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.037) 0:00:29.352 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.039) 0:00:29.391 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.039) 0:00:29.431 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.043) 0:00:29.475 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.036) 0:00:29.512 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.040) 0:00:29.552 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.024) 0:00:29.577 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.028) 0:00:29.606 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.025) 0:00:29.631 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.025) 0:00:29.657 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.024) 0:00:29.682 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 10:03:29 +0000 (0:00:00.025) 0:00:29.707 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.022) 0:00:29.730 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.025) 0:00:29.755 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.036) 0:00:29.792 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:51 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.037) 0:00:29.830 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.051) 0:00:29.881 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.038) 0:00:29.919 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.411) 0:00:30.331 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.129) 0:00:30.461 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.034) 0:00:30.495 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.037) 0:00:30.532 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.058) 0:00:30.590 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.021) 0:00:30.612 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.028) 0:00:30.640 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.036) 0:00:30.677 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "fs_type": "ext4", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 10:03:30 +0000 (0:00:00.037) 0:00:30.714 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 10:03:31 +0000 (0:00:00.026) 0:00:30.741 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 10:03:31 +0000 (0:00:00.028) 0:00:30.770 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 10:03:31 +0000 (0:00:00.031) 0:00:30.801 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 10:03:31 +0000 (0:00:00.030) 0:00:30.831 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 10:03:31 +0000 (0:00:00.056) 0:00:30.888 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 10:03:31 +0000 (0:00:00.022) 0:00:30.911 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 10:03:32 +0000 (0:00:01.133) 0:00:32.044 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 10:03:32 +0000 (0:00:00.038) 0:00:32.083 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 10:03:32 +0000 (0:00:00.021) 0:00:32.104 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 10:03:32 +0000 (0:00:00.040) 0:00:32.145 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 10:03:32 +0000 (0:00:00.038) 0:00:32.184 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 10:03:32 +0000 (0:00:00.040) 0:00:32.224 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 10:03:32 +0000 (0:00:00.039) 0:00:32.263 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 10:03:32 +0000 (0:00:00.444) 0:00:32.708 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=15199176-fdac-40c4-a943-d99b6fc56575', 'dump': 0, 'passno': 0, 'fstype': 'ext4', 'state': 'mounted', 'path': '/opt/test', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 10:03:33 +0000 (0:00:00.375) 0:00:33.083 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 10:03:33 +0000 (0:00:00.473) 0:00:33.556 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 10:03:34 +0000 (0:00:00.384) 0:00:33.940 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 10:03:34 +0000 (0:00:00.024) 0:00:33.964 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:62 Thursday 21 July 2022 10:03:35 +0000 (0:00:00.850) 0:00:34.815 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 10:03:35 +0000 (0:00:00.047) 0:00:34.863 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 10:03:35 +0000 (0:00:00.037) 0:00:34.900 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 10:03:35 +0000 (0:00:00.052) 0:00:34.952 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "ext4", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "15199176-fdac-40c4-a943-d99b6fc56575" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-10-02-46-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmptuh8_vrz/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 10:03:35 +0000 (0:00:00.316) 0:00:35.269 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004389", "end": "2022-07-21 10:03:35.605126", "rc": 0, "start": "2022-07-21 10:03:35.600737" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=15199176-fdac-40c4-a943-d99b6fc56575 /opt/test ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 10:03:35 +0000 (0:00:00.317) 0:00:35.586 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003258", "end": "2022-07-21 10:03:35.890301", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:03:35.887043" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.281) 0:00:35.868 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.021) 0:00:35.889 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext4', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=15199176-fdac-40c4-a943-d99b6fc56575', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.062) 0:00:35.952 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.048) 0:00:36.001 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.073) 0:00:36.074 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.080) 0:00:36.154 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2403135, "block_size": 4096, "block_total": 2547525, "block_used": 144390, "device": "/dev/nvme1n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9843240960, "size_total": 10434662400, "uuid": "15199176-fdac-40c4-a943-d99b6fc56575" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2403135, "block_size": 4096, "block_total": 2547525, "block_used": 144390, "device": "/dev/nvme1n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9843240960, "size_total": 10434662400, "uuid": "15199176-fdac-40c4-a943-d99b6fc56575" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.062) 0:00:36.217 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.079) 0:00:36.296 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.107) 0:00:36.404 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.053) 0:00:36.457 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.025) 0:00:36.482 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.025) 0:00:36.508 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.026) 0:00:36.534 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.035) 0:00:36.570 ********* ok: [/cache/centos-7.qcow2c.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=15199176-fdac-40c4-a943-d99b6fc56575 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.060) 0:00:36.631 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 10:03:36 +0000 (0:00:00.048) 0:00:36.680 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.050) 0:00:36.730 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.039) 0:00:36.770 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.037) 0:00:36.807 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.041) 0:00:36.848 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.040) 0:00:36.889 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658397802.2311566, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658397802.2311566, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11529, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658397802.2311566, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.306) 0:00:37.195 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.040) 0:00:37.235 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.050) 0:00:37.285 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.034) 0:00:37.320 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.024) 0:00:37.345 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.040) 0:00:37.386 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 10:03:37 +0000 (0:00:00.025) 0:00:37.411 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.503) 0:00:37.914 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.023) 0:00:37.938 ********* skipping: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.022) 0:00:37.960 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.052) 0:00:38.012 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.024) 0:00:38.037 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.028) 0:00:38.066 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.027) 0:00:38.093 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.026) 0:00:38.119 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.027) 0:00:38.146 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.065) 0:00:38.211 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.097) 0:00:38.308 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.037) 0:00:38.346 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.077) 0:00:38.423 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.039) 0:00:38.463 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.036) 0:00:38.499 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.037) 0:00:38.537 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.034) 0:00:38.571 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.034) 0:00:38.606 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.035) 0:00:38.641 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.037) 0:00:38.679 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 10:03:38 +0000 (0:00:00.035) 0:00:38.714 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.035) 0:00:38.749 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.022) 0:00:38.772 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.035) 0:00:38.808 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.034) 0:00:38.842 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.033) 0:00:38.876 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.034) 0:00:38.910 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.037) 0:00:38.948 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.037) 0:00:38.985 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.035) 0:00:39.021 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.035) 0:00:39.056 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.036) 0:00:39.092 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.035) 0:00:39.127 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.023) 0:00:39.151 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.021) 0:00:39.173 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.022) 0:00:39.195 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.022) 0:00:39.218 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.023) 0:00:39.242 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.022) 0:00:39.264 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.024) 0:00:39.289 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.022) 0:00:39.312 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.032) 0:00:39.344 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:64 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.033) 0:00:39.378 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.059) 0:00:39.438 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 10:03:39 +0000 (0:00:00.036) 0:00:39.474 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.396) 0:00:39.871 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.130) 0:00:40.002 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.034) 0:00:40.036 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.034) 0:00:40.071 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.056) 0:00:40.128 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.020) 0:00:40.148 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.026) 0:00:40.175 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.038) 0:00:40.213 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test", "name": "test1", "state": "absent", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.037) 0:00:40.250 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.039) 0:00:40.289 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.034) 0:00:40.324 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.030) 0:00:40.354 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.028) 0:00:40.382 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.057) 0:00:40.440 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 10:03:40 +0000 (0:00:00.022) 0:00:40.463 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 10:03:42 +0000 (0:00:01.415) 0:00:41.878 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 10:03:42 +0000 (0:00:00.037) 0:00:41.915 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 10:03:42 +0000 (0:00:00.027) 0:00:41.943 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 10:03:42 +0000 (0:00:00.040) 0:00:41.983 ********* ok: [/cache/centos-7.qcow2c.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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 10:03:42 +0000 (0:00:00.038) 0:00:42.022 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 10:03:42 +0000 (0:00:00.039) 0:00:42.062 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=15199176-fdac-40c4-a943-d99b6fc56575', 'state': 'absent', 'path': '/opt/test', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=15199176-fdac-40c4-a943-d99b6fc56575" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 10:03:42 +0000 (0:00:00.342) 0:00:42.404 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 10:03:43 +0000 (0:00:00.439) 0:00:42.843 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 10:03:43 +0000 (0:00:00.041) 0:00:42.884 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 10:03:43 +0000 (0:00:00.438) 0:00:43.322 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "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": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "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/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 10:03:43 +0000 (0:00:00.369) 0:00:43.692 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 10:03:43 +0000 (0:00:00.022) 0:00:43.715 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:75 Thursday 21 July 2022 10:03:44 +0000 (0:00:00.855) 0:00:44.570 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 10:03:44 +0000 (0:00:00.046) 0:00:44.617 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 10:03:44 +0000 (0:00:00.048) 0:00:44.665 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=15199176-fdac-40c4-a943-d99b6fc56575", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 10:03:44 +0000 (0:00:00.051) 0:00:44.717 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-10-02-46-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/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": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/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": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/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/tmptuh8_vrz/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 10:03:45 +0000 (0:00:00.306) 0:00:45.023 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003288", "end": "2022-07-21 10:03:45.336828", "rc": 0, "start": "2022-07-21 10:03:45.333540" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # 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 # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 10:03:45 +0000 (0:00:00.291) 0:00:45.315 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003275", "end": "2022-07-21 10:03:45.628243", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:03:45.624968" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 10:03:45 +0000 (0:00:00.292) 0:00:45.608 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 10:03:45 +0000 (0:00:00.023) 0:00:45.631 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext4', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'absent', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=15199176-fdac-40c4-a943-d99b6fc56575', 'raid_spare_count': None, 'name': 'test1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 10:03:45 +0000 (0:00:00.058) 0:00:45.689 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.051) 0:00:45.741 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.076) 0:00:45.817 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.040) 0:00:45.858 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.056) 0:00:45.915 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.025) 0:00:45.940 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.050) 0:00:45.990 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.038) 0:00:46.028 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.024) 0:00:46.053 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.025) 0:00:46.079 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.052) 0:00:46.131 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.033) 0:00:46.164 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.057) 0:00:46.222 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.022) 0:00:46.245 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.045) 0:00:46.291 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.033) 0:00:46.325 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.033) 0:00:46.358 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.023) 0:00:46.382 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.021) 0:00:46.404 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658397821.8581564, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658397821.8581564, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11529, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658397821.8581564, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 10:03:46 +0000 (0:00:00.296) 0:00:46.701 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.036) 0:00:46.737 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.022) 0:00:46.760 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.036) 0:00:46.796 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.025) 0:00:46.821 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.022) 0:00:46.844 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.023) 0:00:46.867 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.503) 0:00:47.370 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.024) 0:00:47.395 ********* skipping: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.025) 0:00:47.420 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.024) 0:00:47.445 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.028) 0:00:47.473 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.024) 0:00:47.497 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.025) 0:00:47.523 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.023) 0:00:47.547 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.022) 0:00:47.570 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.049) 0:00:47.620 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.046) 0:00:47.666 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 10:03:47 +0000 (0:00:00.035) 0:00:47.701 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.034) 0:00:47.735 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.037) 0:00:47.773 ********* ok: [/cache/centos-7.qcow2c.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/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.031) 0:00:47.804 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.035) 0:00:47.840 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.036) 0:00:47.877 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.042) 0:00:47.920 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.038) 0:00:47.958 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.038) 0:00:47.996 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.040) 0:00:48.037 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.068) 0:00:48.106 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.025) 0:00:48.131 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.037) 0:00:48.169 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.037) 0:00:48.207 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.041) 0:00:48.248 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.038) 0:00:48.286 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.037) 0:00:48.324 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.038) 0:00:48.362 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.039) 0:00:48.402 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.038) 0:00:48.440 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.039) 0:00:48.479 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.038) 0:00:48.518 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.027) 0:00:48.545 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.025) 0:00:48.570 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.025) 0:00:48.596 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.025) 0:00:48.621 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.026) 0:00:48.648 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.024) 0:00:48.673 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.024) 0:00:48.698 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 10:03:48 +0000 (0:00:00.025) 0:00:48.723 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 10:03:49 +0000 (0:00:00.043) 0:00:48.766 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=261 changed=7 unreachable=0 failed=0 skipped=228 rescued=0 ignored=0 Thursday 21 July 2022 10:03:49 +0000 (0:00:00.047) 0:00:48.813 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.82s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.42s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.31s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.13s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs_nvme_generated.yml:3 ------ fedora.linux_system_roles.storage : get service facts ------------------- 1.12s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : make sure blivet is available ------- 1.01s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : Update facts ------------------------ 0.86s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.86s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.85s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.84s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.83s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_fs.yml:2 --------------------- fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.69s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 fedora.linux_system_roles.storage : get required packages --------------- 0.64s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 fedora.linux_system_roles.storage : make sure required packages are installed --- 0.54s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 0.52s /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 0.51s /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 0.50s /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 0.50s /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 -----------