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_existing_lvm_pool.yml ****************************************** 1 plays in /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:2 Thursday 21 July 2022 08:14:25 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:13 Thursday 21 July 2022 08:14:28 +0000 (0:00:02.157) 0:00:02.169 ********* 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 08:14:28 +0000 (0:00:00.033) 0:00:02.203 ********* 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 08:14:28 +0000 (0:00:00.029) 0:00:02.233 ********* 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 08:14:28 +0000 (0:00:00.411) 0:00:02.644 ********* 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 08:14:28 +0000 (0:00:00.055) 0:00:02.700 ********* 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 08:14:28 +0000 (0:00:00.030) 0:00:02.731 ********* 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 08:14:28 +0000 (0:00:00.030) 0:00:02.761 ********* 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 08:14:28 +0000 (0:00:00.046) 0:00:02.808 ********* 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 08:14:28 +0000 (0:00:00.018) 0:00:02.826 ********* 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 08:14:29 +0000 (0:00:00.981) 0:00:03.808 ********* 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 08:14:29 +0000 (0:00:00.034) 0:00:03.842 ********* 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 08:14:29 +0000 (0:00:00.033) 0:00:03.875 ********* 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 08:14:30 +0000 (0:00:00.653) 0:00:04.529 ********* 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 08:14:30 +0000 (0:00:00.042) 0:00:04.572 ********* 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 08:14:30 +0000 (0:00:00.031) 0:00:04.603 ********* 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 08:14:30 +0000 (0:00:00.035) 0:00:04.639 ********* 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 08:14:30 +0000 (0:00:00.031) 0:00:04.671 ********* 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 08:14:31 +0000 (0:00:00.550) 0:00:05.221 ********* 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 08:14:32 +0000 (0:00:01.172) 0:00:06.394 ********* 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 08:14:32 +0000 (0:00:00.056) 0:00:06.451 ********* 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 08:14:32 +0000 (0:00:00.020) 0:00:06.471 ********* 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 08:14:32 +0000 (0:00:00.450) 0:00:06.922 ********* 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 08:14:32 +0000 (0:00:00.033) 0:00:06.955 ********* 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 08:14:32 +0000 (0:00:00.020) 0:00:06.976 ********* 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 08:14:32 +0000 (0:00:00.033) 0:00:07.009 ********* 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 08:14:32 +0000 (0:00:00.033) 0:00:07.042 ********* 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 08:14:32 +0000 (0:00:00.033) 0:00:07.076 ********* 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 08:14:32 +0000 (0:00:00.033) 0:00:07.110 ********* 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 08:14:32 +0000 (0:00:00.022) 0:00:07.132 ********* 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 08:14:33 +0000 (0:00:00.032) 0:00:07.164 ********* 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 08:14:33 +0000 (0:00:00.021) 0:00:07.186 ********* 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 08:14:33 +0000 (0:00:00.456) 0:00:07.643 ********* 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 08:14:33 +0000 (0:00:00.023) 0:00:07.666 ********* 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_existing_lvm_pool.yml:16 Thursday 21 July 2022 08:14:34 +0000 (0:00:00.811) 0:00:08.478 ********* 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_existing_lvm_pool.yml:23 Thursday 21 July 2022 08:14:34 +0000 (0:00:00.035) 0:00:08.514 ********* 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 08:14:34 +0000 (0:00:00.035) 0:00:08.550 ********* 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 08:14:34 +0000 (0:00:00.444) 0:00:08.995 ********* 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 08:14:34 +0000 (0:00:00.037) 0:00:09.032 ********* 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 08:14:34 +0000 (0:00:00.038) 0:00:09.070 ********* ok: [/cache/centos-7.qcow2c.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create one LVM logical volume under one volume group] ******************** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:28 Thursday 21 July 2022 08:14:34 +0000 (0:00:00.063) 0:00:09.134 ********* 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 08:14:35 +0000 (0:00:00.068) 0:00:09.203 ********* 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 08:14:35 +0000 (0:00:00.034) 0:00:09.238 ********* 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 08:14:35 +0000 (0:00:00.392) 0:00:09.631 ********* 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 08:14:35 +0000 (0:00:00.059) 0:00:09.691 ********* 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 08:14:35 +0000 (0:00:00.034) 0:00:09.725 ********* 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 08:14:35 +0000 (0:00:00.033) 0:00:09.759 ********* 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 08:14:35 +0000 (0:00:00.047) 0:00:09.807 ********* 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 08:14:35 +0000 (0:00:00.021) 0:00:09.828 ********* 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 08:14:35 +0000 (0:00:00.028) 0:00:09.856 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "name": "test1", "size": "4g" } ] } ] } 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 08:14:35 +0000 (0:00:00.038) 0:00:09.895 ********* 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 08:14:35 +0000 (0:00:00.038) 0:00:09.933 ********* 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 08:14:35 +0000 (0:00:00.027) 0:00:09.961 ********* 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 08:14:35 +0000 (0:00:00.025) 0:00:09.987 ********* 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 08:14:35 +0000 (0:00:00.026) 0:00:10.013 ********* 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 08:14:35 +0000 (0:00:00.027) 0:00:10.040 ********* 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 08:14:35 +0000 (0:00:00.053) 0:00:10.093 ********* 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 08:14:35 +0000 (0:00:00.020) 0:00:10.114 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:14:37 +0000 (0:00:01.681) 0:00:11.795 ********* 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 08:14:37 +0000 (0:00:00.036) 0:00:11.832 ********* 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 08:14:37 +0000 (0:00:00.021) 0:00:11.854 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:14:37 +0000 (0:00:00.038) 0:00:11.892 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:14:37 +0000 (0:00:00.040) 0:00:11.933 ********* 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 08:14:37 +0000 (0:00:00.036) 0:00:11.969 ********* 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 08:14:37 +0000 (0:00:00.035) 0:00:12.004 ********* 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 08:14:37 +0000 (0:00:00.024) 0:00:12.029 ********* 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 08:14:37 +0000 (0:00:00.038) 0:00:12.067 ********* 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 08:14:37 +0000 (0:00:00.024) 0:00:12.091 ********* 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 08:14:38 +0000 (0:00:00.301) 0:00:12.393 ********* 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 08:14:38 +0000 (0:00:00.022) 0:00:12.416 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:39 Thursday 21 July 2022 08:14:39 +0000 (0:00:00.840) 0:00:13.257 ********* 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 08:14:39 +0000 (0:00:00.040) 0:00:13.298 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:14:39 +0000 (0:00:00.051) 0:00:13.350 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:14:39 +0000 (0:00:00.038) 0:00:13.388 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "1629f1a0-2512-4324-b9c5-bd7ef3474193" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "JfQ0d8-gbU7-IDfI-8FLx-e2zF-EiS3-j2zYOY" }, "/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-08-14-11-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 08:14:39 +0000 (0:00:00.429) 0:00:13.818 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003391", "end": "2022-07-21 08:14:39.302868", "rc": 0, "start": "2022-07-21 08:14:39.299477" } 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 08:14:40 +0000 (0:00:00.416) 0:00:14.234 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003273", "end": "2022-07-21 08:14:39.591687", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:14:39.588414" } 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 08:14:40 +0000 (0:00:00.289) 0:00:14.524 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:14:40 +0000 (0:00:00.059) 0:00:14.584 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:14:40 +0000 (0:00:00.033) 0:00:14.617 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmp8lr32tv2/tests/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:14:40 +0000 (0:00:00.045) 0:00:14.663 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:14:40 +0000 (0:00:00.097) 0:00:14.760 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:14:40 +0000 (0:00:00.385) 0:00:15.146 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.048) 0:00:15.194 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.048) 0:00:15.243 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.051) 0:00:15.295 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.038) 0:00:15.333 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.049) 0:00:15.383 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.024) 0:00:15.407 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.042) 0:00:15.450 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.043) 0:00:15.493 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.024) 0:00:15.518 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.024) 0:00:15.543 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.025) 0:00:15.569 ********* 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/verify-pool-md.yml:24 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.024) 0:00:15.593 ********* 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/verify-pool-md.yml:30 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.024) 0:00:15.618 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.024) 0:00:15.643 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.025) 0:00:15.668 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.033) 0:00:15.702 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.044) 0:00:15.747 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.043) 0:00:15.791 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.028) 0:00:15.820 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.028) 0:00:15.848 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.031) 0:00:15.880 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.045) 0:00:15.925 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.055) 0:00:15.980 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.025) 0:00:16.006 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.023) 0:00:16.029 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.023) 0:00:16.053 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.023) 0:00:16.076 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:14:41 +0000 (0:00:00.046) 0:00:16.123 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.110) 0:00:16.233 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.027) 0:00:16.260 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.040) 0:00:16.301 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.046) 0:00:16.348 ********* 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/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.044) 0:00:16.392 ********* 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/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.032) 0:00:16.424 ********* 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/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.035) 0:00:16.460 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.035) 0:00:16.495 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.035) 0:00:16.530 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.034) 0:00:16.565 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.046) 0:00:16.611 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.043) 0:00:16.655 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.022) 0:00:16.677 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.022) 0:00:16.700 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.022) 0:00:16.722 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.023) 0:00:16.746 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.021) 0:00:16.767 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.021) 0:00:16.789 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.021) 0:00:16.810 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.033) 0:00:16.843 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.030) 0:00:16.874 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.039) 0:00:16.913 ********* 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 08:14:42 +0000 (0:00:00.046) 0:00:16.959 ********* 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 08:14:42 +0000 (0:00:00.076) 0:00:17.036 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:14:42 +0000 (0:00:00.037) 0:00:17.074 ********* 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 08:14:42 +0000 (0:00:00.053) 0:00:17.127 ********* 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 08:14:42 +0000 (0:00:00.022) 0:00:17.150 ********* 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 08:14:43 +0000 (0:00:00.045) 0:00:17.196 ********* 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 08:14:43 +0000 (0:00:00.033) 0:00:17.229 ********* 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 08:14:43 +0000 (0:00:00.024) 0:00:17.254 ********* 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 08:14:43 +0000 (0:00:00.022) 0:00:17.277 ********* 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 08:14:43 +0000 (0:00:00.022) 0:00:17.299 ********* 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 08:14:43 +0000 (0:00:00.068) 0:00:17.368 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:14:43 +0000 (0:00:00.093) 0:00:17.462 ********* 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 08:14:43 +0000 (0:00:00.048) 0:00:17.510 ********* 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 08:14:43 +0000 (0:00:00.048) 0:00:17.558 ********* 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 08:14:43 +0000 (0:00:00.037) 0:00:17.595 ********* 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 08:14:43 +0000 (0:00:00.032) 0:00:17.628 ********* 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 08:14:43 +0000 (0:00:00.037) 0:00:17.665 ********* 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 08:14:43 +0000 (0:00:00.039) 0:00:17.704 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658391276.7998111, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658391276.7998111, "dev": 5, "device_type": 64512, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 23401, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658391276.7998111, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:14:43 +0000 (0:00:00.308) 0:00:18.012 ********* 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 08:14:43 +0000 (0:00:00.036) 0:00:18.049 ********* 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 08:14:43 +0000 (0:00:00.039) 0:00:18.088 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "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 08:14:43 +0000 (0:00:00.035) 0:00:18.124 ********* 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 08:14:43 +0000 (0:00:00.023) 0:00:18.147 ********* 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 08:14:44 +0000 (0:00:00.035) 0:00:18.183 ********* 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 08:14:44 +0000 (0:00:00.022) 0:00:18.206 ********* 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 08:14:44 +0000 (0:00:00.509) 0:00:18.715 ********* 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 08:14:44 +0000 (0:00:00.026) 0:00:18.741 ********* 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 08:14:44 +0000 (0:00:00.026) 0:00:18.768 ********* 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 08:14:44 +0000 (0:00:00.055) 0:00:18.824 ********* 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 08:14:44 +0000 (0:00:00.024) 0:00:18.848 ********* 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 08:14:44 +0000 (0:00:00.024) 0:00:18.872 ********* 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 08:14:44 +0000 (0:00:00.024) 0:00:18.897 ********* 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 08:14:44 +0000 (0:00:00.024) 0:00:18.921 ********* 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 08:14:44 +0000 (0:00:00.024) 0:00:18.946 ********* 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 08:14:44 +0000 (0:00:00.051) 0:00:18.998 ********* 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 08:14:44 +0000 (0:00:00.050) 0:00:19.049 ********* 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 08:14:44 +0000 (0:00:00.034) 0:00:19.083 ********* 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 08:14:44 +0000 (0:00:00.034) 0:00:19.118 ********* 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 08:14:44 +0000 (0:00:00.034) 0:00:19.152 ********* 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 08:14:45 +0000 (0:00:00.035) 0:00:19.187 ********* 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 08:14:45 +0000 (0:00:00.036) 0:00:19.224 ********* 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 08:14:45 +0000 (0:00:00.036) 0:00:19.260 ********* 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 08:14:45 +0000 (0:00:00.035) 0:00:19.296 ********* 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 08:14:45 +0000 (0:00:00.039) 0:00:19.335 ********* 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 08:14:45 +0000 (0:00:00.038) 0:00:19.373 ********* 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 08:14:45 +0000 (0:00:00.036) 0:00:19.410 ********* 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 08:14:45 +0000 (0:00:00.036) 0:00:19.446 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:14:45 +0000 (0:00:00.433) 0:00:19.880 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:14:46 +0000 (0:00:00.347) 0:00:20.228 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:14:46 +0000 (0:00:00.088) 0:00:20.317 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:14:46 +0000 (0:00:00.038) 0:00:20.356 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:14:46 +0000 (0:00:00.039) 0:00:20.396 ********* 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 08:14:46 +0000 (0:00:00.037) 0:00:20.433 ********* 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 08:14:46 +0000 (0:00:00.102) 0:00:20.536 ********* 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 08:14:46 +0000 (0:00:00.038) 0:00:20.574 ********* 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 08:14:46 +0000 (0:00:00.037) 0:00:20.612 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:14:46 +0000 (0:00:00.039) 0:00:20.652 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:14:46 +0000 (0:00:00.036) 0:00:20.688 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:14:46 +0000 (0:00:00.053) 0:00:20.741 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.023257", "end": "2022-07-21 08:14:46.121231", "rc": 0, "start": "2022-07-21 08:14:46.097974" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:14:46 +0000 (0:00:00.312) 0:00:21.053 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:14:46 +0000 (0:00:00.051) 0:00:21.105 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:14:47 +0000 (0:00:00.051) 0:00:21.156 ********* 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 08:14:47 +0000 (0:00:00.037) 0:00:21.194 ********* 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 08:14:47 +0000 (0:00:00.038) 0:00:21.232 ********* 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 08:14:47 +0000 (0:00:00.040) 0:00:21.273 ********* 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 08:14:47 +0000 (0:00:00.038) 0:00:21.311 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:14:47 +0000 (0:00:00.036) 0:00:21.347 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:14:47 +0000 (0:00:00.022) 0:00:21.370 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create another volume in the existing pool, identified only by name.] **** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:41 Thursday 21 July 2022 08:14:47 +0000 (0:00:00.037) 0:00:21.408 ********* 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 08:14:47 +0000 (0:00:00.048) 0:00:21.456 ********* 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 08:14:47 +0000 (0:00:00.035) 0:00:21.492 ********* 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 08:14:47 +0000 (0:00:00.393) 0:00:21.885 ********* 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 08:14:47 +0000 (0:00:00.062) 0:00:21.948 ********* 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 08:14:47 +0000 (0:00:00.033) 0:00:21.981 ********* 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 08:14:47 +0000 (0:00:00.034) 0:00:22.016 ********* 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 08:14:47 +0000 (0:00:00.047) 0:00:22.063 ********* 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 08:14:47 +0000 (0:00:00.021) 0:00:22.084 ********* 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 08:14:47 +0000 (0:00:00.028) 0:00:22.113 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "name": "foo", "volumes": [ { "fs_label": "newvol", "fs_type": "ext4", "name": "newvol", "size": "2 GiB" } ] } ] } 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 08:14:47 +0000 (0:00:00.039) 0:00:22.152 ********* 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 08:14:48 +0000 (0:00:00.035) 0:00:22.188 ********* 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 08:14:48 +0000 (0:00:00.028) 0:00:22.217 ********* 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 08:14:48 +0000 (0:00:00.029) 0:00:22.246 ********* 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 08:14:48 +0000 (0:00:00.065) 0:00:22.311 ********* 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 08:14:48 +0000 (0:00:00.028) 0:00:22.340 ********* 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 08:14:48 +0000 (0:00:00.057) 0:00:22.397 ********* 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 08:14:48 +0000 (0:00:00.021) 0:00:22.419 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-newvol" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:14:50 +0000 (0:00:01.797) 0:00:24.217 ********* 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 08:14:50 +0000 (0:00:00.036) 0:00:24.254 ********* 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 08:14:50 +0000 (0:00:00.022) 0:00:24.276 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-newvol" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:14:50 +0000 (0:00:00.039) 0:00:24.316 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:14:50 +0000 (0:00:00.041) 0:00:24.357 ********* 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 08:14:50 +0000 (0:00:00.036) 0:00:24.394 ********* 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 08:14:50 +0000 (0:00:00.036) 0:00:24.430 ********* 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 08:14:50 +0000 (0:00:00.024) 0:00:24.455 ********* 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 08:14:50 +0000 (0:00:00.041) 0:00:24.496 ********* 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 08:14:50 +0000 (0:00:00.026) 0:00:24.523 ********* 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 08:14:50 +0000 (0:00:00.310) 0:00:24.833 ********* 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 08:14:50 +0000 (0:00:00.023) 0:00:24.857 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:53 Thursday 21 July 2022 08:14:51 +0000 (0:00:00.838) 0:00:25.696 ********* 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 08:14:51 +0000 (0:00:00.043) 0:00:25.739 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:14:51 +0000 (0:00:00.088) 0:00:25.828 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:14:51 +0000 (0:00:00.040) 0:00:25.869 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/foo-newvol": { "fstype": "ext4", "label": "newvol", "name": "/dev/mapper/foo-newvol", "size": "2G", "type": "lvm", "uuid": "045b4ae3-8389-4759-aace-b87a8cb6e1c5" }, "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "1629f1a0-2512-4324-b9c5-bd7ef3474193" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "JfQ0d8-gbU7-IDfI-8FLx-e2zF-EiS3-j2zYOY" }, "/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-08-14-11-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 08:14:52 +0000 (0:00:00.331) 0:00:26.200 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003405", "end": "2022-07-21 08:14:51.561309", "rc": 0, "start": "2022-07-21 08:14:51.557904" } 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 08:14:52 +0000 (0:00:00.292) 0:00:26.493 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003302", "end": "2022-07-21 08:14:51.852339", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:14:51.849037" } 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 08:14:52 +0000 (0:00:00.292) 0:00:26.785 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:14:52 +0000 (0:00:00.058) 0:00:26.844 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:14:52 +0000 (0:00:00.033) 0:00:26.877 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmp8lr32tv2/tests/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:14:52 +0000 (0:00:00.044) 0:00:26.922 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:14:52 +0000 (0:00:00.055) 0:00:26.977 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.302) 0:00:27.279 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.049) 0:00:27.329 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.051) 0:00:27.381 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.050) 0:00:27.431 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.039) 0:00:27.471 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.052) 0:00:27.524 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.023) 0:00:27.548 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.041) 0:00:27.590 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.041) 0:00:27.631 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.023) 0:00:27.655 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.023) 0:00:27.678 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.024) 0:00:27.703 ********* 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/verify-pool-md.yml:24 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.026) 0:00:27.730 ********* 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/verify-pool-md.yml:30 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.025) 0:00:27.755 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.027) 0:00:27.783 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.025) 0:00:27.809 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.039) 0:00:27.848 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.043) 0:00:27.891 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.073) 0:00:27.965 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.028) 0:00:27.993 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.028) 0:00:28.022 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.028) 0:00:28.051 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.046) 0:00:28.097 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:14:53 +0000 (0:00:00.044) 0:00:28.142 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.025) 0:00:28.167 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.023) 0:00:28.190 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.024) 0:00:28.215 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.023) 0:00:28.238 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.047) 0:00:28.286 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.049) 0:00:28.336 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.028) 0:00:28.364 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.042) 0:00:28.407 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.049) 0:00:28.456 ********* 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/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.050) 0:00:28.507 ********* 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/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.036) 0:00:28.543 ********* 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/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.036) 0:00:28.580 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.036) 0:00:28.616 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.037) 0:00:28.654 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.034) 0:00:28.689 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.049) 0:00:28.738 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.044) 0:00:28.783 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.025) 0:00:28.808 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.025) 0:00:28.834 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.024) 0:00:28.858 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.024) 0:00:28.883 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.025) 0:00:28.908 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.026) 0:00:28.935 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.024) 0:00:28.960 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.035) 0:00:28.996 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.039) 0:00:29.035 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:14:54 +0000 (0:00:00.044) 0:00:29.079 ********* 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 08:14:55 +0000 (0:00:00.086) 0:00:29.166 ********* 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 08:14:55 +0000 (0:00:00.109) 0:00:29.275 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-newvol" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:14:55 +0000 (0:00:00.043) 0:00:29.319 ********* 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 08:14:55 +0000 (0:00:00.054) 0:00:29.374 ********* 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 08:14:55 +0000 (0:00:00.024) 0:00:29.398 ********* 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 08:14:55 +0000 (0:00:00.049) 0:00:29.448 ********* 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 08:14:55 +0000 (0:00:00.040) 0:00:29.489 ********* 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 08:14:55 +0000 (0:00:00.024) 0:00:29.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 08:14:55 +0000 (0:00:00.024) 0:00:29.539 ********* 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 08:14:55 +0000 (0:00:00.024) 0:00:29.563 ********* 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 08:14:55 +0000 (0:00:00.037) 0:00:29.601 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:14:55 +0000 (0:00:00.059) 0:00:29.661 ********* 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 08:14:55 +0000 (0:00:00.049) 0:00:29.711 ********* 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 08:14:55 +0000 (0:00:00.052) 0:00:29.763 ********* 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 08:14:55 +0000 (0:00:00.036) 0:00:29.800 ********* 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 08:14:55 +0000 (0:00:00.036) 0:00:29.837 ********* 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 08:14:55 +0000 (0:00:00.040) 0:00:29.877 ********* 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 08:14:55 +0000 (0:00:00.041) 0:00:29.918 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658391289.234811, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658391289.234811, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 27465, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658391289.234811, "nlink": 1, "path": "/dev/mapper/foo-newvol", "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 08:14:56 +0000 (0:00:00.294) 0:00:30.213 ********* 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 08:14:56 +0000 (0:00:00.039) 0:00:30.253 ********* 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 08:14:56 +0000 (0:00:00.040) 0:00:30.293 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "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 08:14:56 +0000 (0:00:00.039) 0:00:30.332 ********* 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 08:14:56 +0000 (0:00:00.025) 0:00:30.357 ********* 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 08:14:56 +0000 (0:00:00.039) 0:00:30.397 ********* 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 08:14:56 +0000 (0:00:00.024) 0:00:30.421 ********* 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 08:14:56 +0000 (0:00:00.492) 0:00:30.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/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:14:56 +0000 (0:00:00.024) 0:00:30.939 ********* 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 08:14:56 +0000 (0:00:00.024) 0:00:30.964 ********* 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 08:14:56 +0000 (0:00:00.051) 0:00:31.016 ********* 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 08:14:56 +0000 (0:00:00.024) 0:00:31.041 ********* 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 08:14:56 +0000 (0:00:00.024) 0:00:31.065 ********* 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 08:14:56 +0000 (0:00:00.057) 0:00:31.122 ********* 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 08:14:56 +0000 (0:00:00.025) 0:00:31.148 ********* 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 08:14:57 +0000 (0:00:00.025) 0:00:31.173 ********* 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 08:14:57 +0000 (0:00:00.053) 0:00:31.227 ********* 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 08:14:57 +0000 (0:00:00.052) 0:00:31.280 ********* 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 08:14:57 +0000 (0:00:00.036) 0:00:31.316 ********* 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 08:14:57 +0000 (0:00:00.036) 0:00:31.353 ********* 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 08:14:57 +0000 (0:00:00.036) 0:00:31.389 ********* 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 08:14:57 +0000 (0:00:00.038) 0:00:31.428 ********* 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 08:14:57 +0000 (0:00:00.042) 0:00:31.470 ********* 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 08:14:57 +0000 (0:00:00.040) 0:00:31.511 ********* 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 08:14:57 +0000 (0:00:00.038) 0:00:31.549 ********* 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 08:14:57 +0000 (0:00:00.042) 0:00:31.592 ********* 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 08:14:57 +0000 (0:00:00.040) 0:00:31.632 ********* 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 08:14:57 +0000 (0:00:00.038) 0:00:31.670 ********* 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 08:14:57 +0000 (0:00:00.038) 0:00:31.708 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:14:57 +0000 (0:00:00.318) 0:00:32.026 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:14:58 +0000 (0:00:00.311) 0:00:32.338 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:14:58 +0000 (0:00:00.052) 0:00:32.391 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:14:58 +0000 (0:00:00.038) 0:00:32.430 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:14:58 +0000 (0:00:00.042) 0:00:32.472 ********* 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 08:14:58 +0000 (0:00:00.038) 0:00:32.511 ********* 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 08:14:58 +0000 (0:00:00.039) 0:00:32.550 ********* 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 08:14:58 +0000 (0:00:00.038) 0:00:32.588 ********* 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 08:14:58 +0000 (0:00:00.043) 0:00:32.632 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:14:58 +0000 (0:00:00.037) 0:00:32.670 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:14:58 +0000 (0:00:00.038) 0:00:32.708 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:14:58 +0000 (0:00:00.063) 0:00:32.771 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/newvol" ], "delta": "0:00:00.022759", "end": "2022-07-21 08:14:58.161221", "rc": 0, "start": "2022-07-21 08:14:58.138462" } STDOUT: LVM2_LV_NAME=newvol LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:14:58 +0000 (0:00:00.324) 0:00:33.096 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:14:58 +0000 (0:00:00.052) 0:00:33.149 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:14:59 +0000 (0:00:00.054) 0:00:33.204 ********* 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 08:14:59 +0000 (0:00:00.041) 0:00:33.245 ********* 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 08:14:59 +0000 (0:00:00.039) 0:00:33.284 ********* 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 08:14:59 +0000 (0:00:00.048) 0:00:33.333 ********* 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 08:14:59 +0000 (0:00:00.049) 0:00:33.382 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:14:59 +0000 (0:00:00.050) 0:00:33.432 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:14:59 +0000 (0:00:00.029) 0:00:33.462 ********* 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_existing_lvm_pool.yml:55 Thursday 21 July 2022 08:14:59 +0000 (0:00:00.076) 0:00:33.539 ********* 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 08:14:59 +0000 (0:00:00.091) 0:00:33.630 ********* 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 08:14:59 +0000 (0:00:00.035) 0:00:33.666 ********* 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 08:14:59 +0000 (0:00:00.395) 0:00:34.061 ********* 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 08:14:59 +0000 (0:00:00.063) 0:00:34.125 ********* 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 08:15:00 +0000 (0:00:00.035) 0:00:34.161 ********* 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 08:15:00 +0000 (0:00:00.033) 0:00:34.194 ********* 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 08:15:00 +0000 (0:00:00.045) 0:00:34.240 ********* 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 08:15:00 +0000 (0:00:00.020) 0:00:34.260 ********* 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 08:15:00 +0000 (0:00:00.027) 0:00:34.288 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "name": "foo", "state": "absent" } ] } 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 08:15:00 +0000 (0:00:00.036) 0:00:34.324 ********* 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 08:15:00 +0000 (0:00:00.036) 0:00:34.360 ********* 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 08:15:00 +0000 (0:00:00.030) 0:00:34.391 ********* 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 08:15:00 +0000 (0:00:00.027) 0:00:34.418 ********* 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 08:15:00 +0000 (0:00:00.027) 0:00:34.446 ********* 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 08:15:00 +0000 (0:00:00.026) 0:00:34.472 ********* 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 08:15:00 +0000 (0:00:00.054) 0:00:34.527 ********* 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 08:15:00 +0000 (0:00:00.021) 0:00:34.548 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:15:02 +0000 (0:00:02.129) 0:00:36.677 ********* 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 08:15:02 +0000 (0:00:00.038) 0:00:36.716 ********* 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 08:15:02 +0000 (0:00:00.023) 0:00:36.739 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:15:02 +0000 (0:00:00.038) 0:00:36.777 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:15:02 +0000 (0:00:00.038) 0:00:36.816 ********* 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 08:15:02 +0000 (0:00:00.073) 0:00:36.890 ********* 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 08:15:02 +0000 (0:00:00.040) 0:00:36.930 ********* 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 08:15:02 +0000 (0:00:00.026) 0:00:36.957 ********* 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 08:15:02 +0000 (0:00:00.036) 0:00:36.993 ********* 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 08:15:02 +0000 (0:00:00.026) 0:00:37.019 ********* 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 08:15:03 +0000 (0:00:00.327) 0:00:37.347 ********* 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 08:15:03 +0000 (0:00:00.023) 0:00:37.371 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:63 Thursday 21 July 2022 08:15:04 +0000 (0:00:00.813) 0:00:38.184 ********* 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 08:15:04 +0000 (0:00:00.045) 0:00:38.230 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:15:04 +0000 (0:00:00.050) 0:00:38.280 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:15:04 +0000 (0:00:00.036) 0:00:38.316 ********* 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-08-14-11-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 08:15:04 +0000 (0:00:00.302) 0:00:38.619 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003358", "end": "2022-07-21 08:15:04.000501", "rc": 0, "start": "2022-07-21 08:15:03.997143" } 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 08:15:04 +0000 (0:00:00.316) 0:00:38.936 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003348", "end": "2022-07-21 08:15:04.299236", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:15:04.295888" } 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 08:15:05 +0000 (0:00:00.297) 0:00:39.234 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'absent', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.055) 0:00:39.289 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.034) 0:00:39.323 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmp8lr32tv2/tests/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.045) 0:00:39.369 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.080) 0:00:39.450 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.022) 0:00:39.473 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.082) 0:00:39.555 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.083) 0:00:39.639 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.078) 0:00:39.718 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.039) 0:00:39.757 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.051) 0:00:39.809 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.026) 0:00:39.835 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.022) 0:00:39.858 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.041) 0:00:39.900 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.025) 0:00:39.926 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.029) 0:00:39.955 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.024) 0:00:39.980 ********* 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/verify-pool-md.yml:24 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.025) 0:00:40.005 ********* 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/verify-pool-md.yml:30 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.026) 0:00:40.031 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.025) 0:00:40.057 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.025) 0:00:40.083 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:15:05 +0000 (0:00:00.042) 0:00:40.125 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.049) 0:00:40.175 ********* TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.024) 0:00:40.199 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.045) 0:00:40.245 ********* TASK [Check member encryption] ************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.022) 0:00:40.267 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.047) 0:00:40.314 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.054) 0:00:40.369 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.023) 0:00:40.392 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.022) 0:00:40.415 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.040) 0:00:40.455 ********* included: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp8lr32tv2/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.048) 0:00:40.504 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.023) 0:00:40.527 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.034) 0:00:40.561 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.022) 0:00:40.584 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.021) 0:00:40.606 ********* 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=248 changed=3 unreachable=0 failed=0 skipped=197 rescued=0 ignored=0 Thursday 21 July 2022 08:15:06 +0000 (0:00:00.049) 0:00:40.655 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 2.16s /tmp/tmp8lr32tv2/tests/tests_existing_lvm_pool.yml:2 -------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.13s /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.80s /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.68s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.17s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : make sure blivet is available -------------- 0.98s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : Update facts ------------------------------- 0.84s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.84s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.81s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.81s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : get required packages ---------------------- 0.65s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 linux-system-roles.storage : make sure required packages are installed --- 0.55s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 0.51s /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 0.49s /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : retrieve facts for the /etc/crypttab file --- 0.46s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 0.45s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Find unused disks in the system ----------------------------------------- 0.44s /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:2 ---------------------------------- parse the actual size of the volume ------------------------------------- 0.43s /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:3 -------------------------- Collect info about the volumes. ----------------------------------------- 0.43s /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 ----------------------------- Read the /etc/fstab file for volume existence --------------------------- 0.42s /tmp/tmp8lr32tv2/tests/verify-role-results.yml:19 ----------------------------- 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_existing_lvm_pool.yml ****************************************** 1 plays in /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:2 Thursday 21 July 2022 11:05:10 +0000 (0:00:00.013) 0:00:00.013 ********* 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_existing_lvm_pool.yml:13 Thursday 21 July 2022 11:05:11 +0000 (0:00:01.153) 0:00:01.166 ********* 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 11:05:11 +0000 (0:00:00.055) 0:00:01.222 ********* 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 11:05:11 +0000 (0:00:00.029) 0:00:01.252 ********* 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 11:05:12 +0000 (0:00:00.413) 0:00:01.665 ********* 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 11:05:12 +0000 (0:00:00.052) 0:00:01.717 ********* 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 11:05:12 +0000 (0:00:00.028) 0:00:01.746 ********* 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 11:05:12 +0000 (0:00:00.028) 0:00:01.775 ********* 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 11:05:12 +0000 (0:00:00.052) 0:00:01.827 ********* 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 11:05:12 +0000 (0:00:00.019) 0:00:01.846 ********* 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 11:05:13 +0000 (0:00:00.949) 0:00:02.796 ********* 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 11:05:13 +0000 (0:00:00.034) 0:00:02.831 ********* 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 11:05:13 +0000 (0:00:00.034) 0:00:02.865 ********* 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 11:05:14 +0000 (0:00:00.645) 0:00:03.511 ********* 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 11:05:14 +0000 (0:00:00.043) 0:00:03.554 ********* 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 11:05:14 +0000 (0:00:00.031) 0:00:03.586 ********* 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 11:05:14 +0000 (0:00:00.033) 0:00:03.619 ********* 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 11:05:14 +0000 (0:00:00.029) 0:00:03.649 ********* 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 11:05:14 +0000 (0:00:00.500) 0:00:04.150 ********* 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 11:05:15 +0000 (0:00:01.162) 0:00:05.312 ********* 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 11:05:15 +0000 (0:00:00.061) 0:00:05.373 ********* 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 11:05:16 +0000 (0:00:00.020) 0:00:05.394 ********* 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 11:05:16 +0000 (0:00:00.537) 0:00:05.931 ********* 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 11:05:16 +0000 (0:00:00.037) 0:00:05.969 ********* 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 11:05:16 +0000 (0:00:00.021) 0:00:05.991 ********* 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 11:05:16 +0000 (0:00:00.036) 0:00:06.027 ********* 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 11:05:16 +0000 (0:00:00.033) 0:00:06.060 ********* 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 11:05:16 +0000 (0:00:00.063) 0:00:06.124 ********* 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 11:05:16 +0000 (0:00:00.036) 0:00:06.160 ********* 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 11:05:16 +0000 (0:00:00.051) 0:00:06.212 ********* 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 11:05:16 +0000 (0:00:00.036) 0:00:06.248 ********* 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 11:05:16 +0000 (0:00:00.024) 0:00:06.272 ********* 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 11:05:17 +0000 (0:00:00.409) 0:00:06.682 ********* 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 11:05:17 +0000 (0:00:00.023) 0:00:06.706 ********* 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_existing_lvm_pool.yml:16 Thursday 21 July 2022 11:05:18 +0000 (0:00:00.846) 0:00:07.552 ********* 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_existing_lvm_pool.yml:23 Thursday 21 July 2022 11:05:18 +0000 (0:00:00.035) 0:00:07.587 ********* 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 11:05:18 +0000 (0:00:00.037) 0:00:07.625 ********* 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 11:05:18 +0000 (0:00:00.464) 0:00:08.090 ********* 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 11:05:18 +0000 (0:00:00.035) 0:00:08.125 ********* 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 11:05:18 +0000 (0:00:00.038) 0:00:08.163 ********* ok: [/cache/centos-7.qcow2c.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create one LVM logical volume under one volume group] ******************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:28 Thursday 21 July 2022 11:05:18 +0000 (0:00:00.034) 0:00:08.198 ********* 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 11:05:18 +0000 (0:00:00.041) 0:00:08.239 ********* 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 11:05:18 +0000 (0:00:00.036) 0:00:08.275 ********* 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 11:05:19 +0000 (0:00:00.441) 0:00:08.717 ********* 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 11:05:19 +0000 (0:00:00.091) 0:00:08.809 ********* 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 11:05:19 +0000 (0:00:00.033) 0:00:08.842 ********* 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 11:05:19 +0000 (0:00:00.065) 0:00:08.907 ********* 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 11:05:19 +0000 (0:00:00.083) 0:00:08.991 ********* 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 11:05:19 +0000 (0:00:00.020) 0:00:09.012 ********* 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 11:05:19 +0000 (0:00:00.029) 0:00:09.041 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "name": "test1", "size": "4g" } ] } ] } 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 11:05:19 +0000 (0:00:00.038) 0:00:09.080 ********* 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 11:05:19 +0000 (0:00:00.033) 0:00:09.114 ********* 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 11:05:19 +0000 (0:00:00.026) 0:00:09.140 ********* 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 11:05:19 +0000 (0:00:00.025) 0:00:09.166 ********* 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 11:05:19 +0000 (0:00:00.026) 0:00:09.193 ********* 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 11:05:19 +0000 (0:00:00.025) 0:00:09.219 ********* 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 11:05:19 +0000 (0:00:00.053) 0:00:09.272 ********* 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 11:05:19 +0000 (0:00:00.020) 0:00:09.292 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:05:21 +0000 (0:00:01.730) 0:00:11.023 ********* 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 11:05:21 +0000 (0:00:00.035) 0:00:11.058 ********* 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 11:05:21 +0000 (0:00:00.019) 0:00:11.078 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:05:21 +0000 (0:00:00.036) 0:00:11.115 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:05:21 +0000 (0:00:00.036) 0:00:11.152 ********* 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 11:05:21 +0000 (0:00:00.036) 0:00:11.189 ********* 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 11:05:21 +0000 (0:00:00.037) 0:00:11.226 ********* 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 11:05:21 +0000 (0:00:00.023) 0:00:11.250 ********* 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 11:05:21 +0000 (0:00:00.035) 0:00:11.285 ********* 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 11:05:21 +0000 (0:00:00.024) 0:00:11.309 ********* 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 11:05:22 +0000 (0:00:00.306) 0:00:11.616 ********* 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 11:05:22 +0000 (0:00:00.023) 0:00:11.639 ********* 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_existing_lvm_pool.yml:39 Thursday 21 July 2022 11:05:23 +0000 (0:00:00.874) 0:00:12.514 ********* 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 11:05:23 +0000 (0:00:00.064) 0:00:12.578 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:05:23 +0000 (0:00:00.050) 0:00:12.628 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:05:23 +0000 (0:00:00.037) 0:00:12.666 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "76b6070f-2df8-40dd-bcd5-adf172a7d5f9" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "igR6Cg-TfaN-hJ86-pIJb-VcrY-HXjX-7nHK2p" }, "/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-11-04-56-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 11:05:23 +0000 (0:00:00.402) 0:00:13.069 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003613", "end": "2022-07-21 11:05:23.591142", "rc": 0, "start": "2022-07-21 11:05:23.587529" } 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 11:05:24 +0000 (0:00:00.400) 0:00:13.469 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003486", "end": "2022-07-21 11:05:23.898782", "failed_when_result": false, "rc": 0, "start": "2022-07-21 11:05:23.895296" } 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 11:05:24 +0000 (0:00:00.308) 0:00:13.778 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:05:24 +0000 (0:00:00.058) 0:00:13.837 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:05:24 +0000 (0:00:00.035) 0:00:13.872 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:05:24 +0000 (0:00:00.048) 0:00:13.921 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:05:24 +0000 (0:00:00.054) 0:00:13.976 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.453) 0:00:14.430 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.047) 0:00:14.477 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.046) 0:00:14.523 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.046) 0:00:14.569 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.034) 0:00:14.604 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.045) 0:00:14.649 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.021) 0:00:14.671 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.065) 0:00:14.736 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.041) 0:00:14.777 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.021) 0:00:14.799 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.022) 0:00:14.821 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.045) 0:00:14.866 ********* 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/verify-pool-md.yml:24 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.024) 0:00:14.891 ********* 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/verify-pool-md.yml:30 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.022) 0:00:14.914 ********* 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/verify-pool-md.yml:36 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.022) 0:00:14.937 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.023) 0:00:14.960 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.030) 0:00:14.990 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.041) 0:00:15.032 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.040) 0:00:15.072 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.029) 0:00:15.102 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.025) 0:00:15.128 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.026) 0:00:15.154 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.047) 0:00:15.202 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.054) 0:00:15.256 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.025) 0:00:15.282 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.025) 0:00:15.307 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.024) 0:00:15.332 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:05:25 +0000 (0:00:00.026) 0:00:15.358 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.045) 0:00:15.403 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.054) 0:00:15.457 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.027) 0:00:15.485 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.042) 0:00:15.528 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.051) 0:00:15.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/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.048) 0:00:15.628 ********* 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/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.037) 0:00:15.665 ********* 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/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.040) 0:00:15.705 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.037) 0:00:15.743 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.035) 0:00:15.779 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.034) 0:00:15.813 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.047) 0:00:15.860 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.041) 0:00:15.902 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.023) 0:00:15.925 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.022) 0:00:15.947 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.022) 0:00:15.970 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.024) 0:00:15.994 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.056) 0:00:16.051 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.023) 0:00:16.074 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.024) 0:00:16.098 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.033) 0:00:16.132 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.033) 0:00:16.165 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-test1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-test1', 'size': '4g', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'test1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-test1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.041) 0:00:16.207 ********* 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 11:05:26 +0000 (0:00:00.046) 0:00:16.254 ********* 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 11:05:26 +0000 (0:00:00.083) 0:00:16.337 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:05:26 +0000 (0:00:00.041) 0:00:16.378 ********* 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 11:05:27 +0000 (0:00:00.057) 0:00:16.435 ********* 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 11:05:27 +0000 (0:00:00.024) 0:00:16.460 ********* 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 11:05:27 +0000 (0:00:00.050) 0:00:16.511 ********* 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 11:05:27 +0000 (0:00:00.037) 0:00:16.548 ********* 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 11:05:27 +0000 (0:00:00.025) 0:00:16.574 ********* 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 11:05:27 +0000 (0:00:00.025) 0:00:16.599 ********* 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 11:05:27 +0000 (0:00:00.026) 0:00:16.625 ********* 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 11:05:27 +0000 (0:00:00.036) 0:00:16.662 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:05:27 +0000 (0:00:00.064) 0:00:16.726 ********* 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 11:05:27 +0000 (0:00:00.050) 0:00:16.777 ********* 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 11:05:27 +0000 (0:00:00.051) 0:00:16.828 ********* 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 11:05:27 +0000 (0:00:00.034) 0:00:16.863 ********* 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 11:05:27 +0000 (0:00:00.031) 0:00:16.894 ********* 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 11:05:27 +0000 (0:00:00.039) 0:00:16.934 ********* 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 11:05:27 +0000 (0:00:00.041) 0:00:16.976 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658401521.1026871, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658401521.1026871, "dev": 5, "device_type": 64512, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 25104, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658401521.1026871, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 11:05:27 +0000 (0:00:00.320) 0:00:17.297 ********* 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 11:05:27 +0000 (0:00:00.037) 0:00:17.335 ********* 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 11:05:27 +0000 (0:00:00.040) 0:00:17.375 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "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 11:05:28 +0000 (0:00:00.035) 0:00:17.411 ********* 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 11:05:28 +0000 (0:00:00.024) 0:00:17.436 ********* 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 11:05:28 +0000 (0:00:00.041) 0:00:17.477 ********* 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 11:05:28 +0000 (0:00:00.026) 0:00:17.503 ********* 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 11:05:28 +0000 (0:00:00.558) 0:00:18.061 ********* 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 11:05:28 +0000 (0:00:00.023) 0:00:18.085 ********* 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 11:05:28 +0000 (0:00:00.022) 0:00:18.107 ********* 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 11:05:28 +0000 (0:00:00.050) 0:00:18.158 ********* 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 11:05:28 +0000 (0:00:00.024) 0:00:18.183 ********* 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 11:05:28 +0000 (0:00:00.023) 0:00:18.206 ********* 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 11:05:28 +0000 (0:00:00.025) 0:00:18.232 ********* 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 11:05:28 +0000 (0:00:00.026) 0:00:18.258 ********* 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 11:05:28 +0000 (0:00:00.024) 0:00:18.283 ********* 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 11:05:28 +0000 (0:00:00.051) 0:00:18.334 ********* 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 11:05:28 +0000 (0:00:00.051) 0:00:18.385 ********* 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 11:05:29 +0000 (0:00:00.035) 0:00:18.420 ********* 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 11:05:29 +0000 (0:00:00.034) 0:00:18.455 ********* 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 11:05:29 +0000 (0:00:00.035) 0:00:18.491 ********* 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 11:05:29 +0000 (0:00:00.035) 0:00:18.526 ********* 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 11:05:29 +0000 (0:00:00.038) 0:00:18.565 ********* 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 11:05:29 +0000 (0:00:00.036) 0:00:18.602 ********* 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 11:05:29 +0000 (0:00:00.035) 0:00:18.638 ********* 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 11:05:29 +0000 (0:00:00.036) 0:00:18.675 ********* 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 11:05:29 +0000 (0:00:00.039) 0:00:18.714 ********* 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 11:05:29 +0000 (0:00:00.040) 0:00:18.754 ********* 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 11:05:29 +0000 (0:00:00.037) 0:00:18.792 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } 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 11:05:29 +0000 (0:00:00.438) 0:00:19.230 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:05:30 +0000 (0:00:00.333) 0:00:19.563 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:05:30 +0000 (0:00:00.047) 0:00:19.611 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:05:30 +0000 (0:00:00.037) 0:00:19.648 ********* 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 11:05:30 +0000 (0:00:00.037) 0:00:19.686 ********* 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 11:05:30 +0000 (0:00:00.038) 0:00:19.724 ********* 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 11:05:30 +0000 (0:00:00.038) 0:00:19.763 ********* 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 11:05:30 +0000 (0:00:00.040) 0:00:19.803 ********* 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 11:05:30 +0000 (0:00:00.037) 0:00:19.840 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:05:30 +0000 (0:00:00.070) 0:00:19.911 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:05:30 +0000 (0:00:00.070) 0:00:19.981 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:05:30 +0000 (0:00:00.081) 0:00:20.063 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.025411", "end": "2022-07-21 11:05:30.556576", "rc": 0, "start": "2022-07-21 11:05:30.531165" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:05:31 +0000 (0:00:00.368) 0:00:20.432 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:05:31 +0000 (0:00:00.051) 0:00:20.483 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:05:31 +0000 (0:00:00.052) 0:00:20.536 ********* 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 11:05:31 +0000 (0:00:00.036) 0:00:20.572 ********* 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 11:05:31 +0000 (0:00:00.038) 0:00:20.610 ********* 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 11:05:31 +0000 (0:00:00.038) 0:00:20.649 ********* 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 11:05:31 +0000 (0:00:00.037) 0:00:20.686 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } 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 11:05:31 +0000 (0:00:00.036) 0:00:20.723 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:05:31 +0000 (0:00:00.022) 0:00:20.745 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create another volume in the existing pool, identified only by name.] **** task path: /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:41 Thursday 21 July 2022 11:05:31 +0000 (0:00:00.033) 0:00:20.779 ********* 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 11:05:31 +0000 (0:00:00.050) 0:00:20.829 ********* 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 11:05:31 +0000 (0:00:00.046) 0:00:20.876 ********* 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 11:05:31 +0000 (0:00:00.409) 0:00:21.285 ********* 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 11:05:31 +0000 (0:00:00.061) 0:00:21.347 ********* 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 11:05:31 +0000 (0:00:00.037) 0:00:21.384 ********* 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 11:05:32 +0000 (0:00:00.037) 0:00:21.422 ********* 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 11:05:32 +0000 (0:00:00.057) 0:00:21.480 ********* 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 11:05:32 +0000 (0:00:00.022) 0:00:21.502 ********* 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 11:05:32 +0000 (0:00:00.029) 0:00:21.532 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "name": "foo", "volumes": [ { "fs_label": "newvol", "fs_type": "ext4", "name": "newvol", "size": "2 GiB" } ] } ] } 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 11:05:32 +0000 (0:00:00.037) 0:00:21.570 ********* 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 11:05:32 +0000 (0:00:00.035) 0:00:21.605 ********* 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 11:05:32 +0000 (0:00:00.029) 0:00:21.635 ********* 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 11:05:32 +0000 (0:00:00.029) 0:00:21.664 ********* 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 11:05:32 +0000 (0:00:00.033) 0:00:21.697 ********* 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 11:05:32 +0000 (0:00:00.028) 0:00:21.726 ********* 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 11:05:32 +0000 (0:00:00.059) 0:00:21.785 ********* 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 11:05:32 +0000 (0:00:00.025) 0:00:21.811 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-newvol" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:05:34 +0000 (0:00:01.771) 0:00:23.583 ********* 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 11:05:34 +0000 (0:00:00.034) 0:00:23.618 ********* 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 11:05:34 +0000 (0:00:00.020) 0:00:23.638 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-newvol" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:05:34 +0000 (0:00:00.035) 0:00:23.674 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:05:34 +0000 (0:00:00.035) 0:00:23.710 ********* 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 11:05:34 +0000 (0:00:00.035) 0:00:23.746 ********* 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 11:05:34 +0000 (0:00:00.032) 0:00:23.778 ********* 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 11:05:34 +0000 (0:00:00.021) 0:00:23.799 ********* 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 11:05:34 +0000 (0:00:00.032) 0:00:23.831 ********* 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 11:05:34 +0000 (0:00:00.025) 0:00:23.856 ********* 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 11:05:34 +0000 (0:00:00.310) 0:00:24.166 ********* 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 11:05:34 +0000 (0:00:00.023) 0:00:24.190 ********* 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_existing_lvm_pool.yml:53 Thursday 21 July 2022 11:05:35 +0000 (0:00:00.860) 0:00:25.051 ********* 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 11:05:35 +0000 (0:00:00.043) 0:00:25.094 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-newvol", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-newvol", "_raw_device": "/dev/mapper/foo-newvol", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "newvol", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "newvol", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2 GiB", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:05:35 +0000 (0:00:00.080) 0:00:25.175 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:05:35 +0000 (0:00:00.038) 0:00:25.213 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/foo-newvol": { "fstype": "ext4", "label": "newvol", "name": "/dev/mapper/foo-newvol", "size": "2G", "type": "lvm", "uuid": "d7a6d90d-8d29-435e-970f-3d65ce61f743" }, "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "76b6070f-2df8-40dd-bcd5-adf172a7d5f9" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "igR6Cg-TfaN-hJ86-pIJb-VcrY-HXjX-7nHK2p" }, "/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-11-04-56-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 11:05:36 +0000 (0:00:00.333) 0:00:25.547 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003707", "end": "2022-07-21 11:05:36.024488", "rc": 0, "start": "2022-07-21 11:05:36.020781" } 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 11:05:36 +0000 (0:00:00.358) 0:00:25.905 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003364", "end": "2022-07-21 11:05:36.328896", "failed_when_result": false, "rc": 0, "start": "2022-07-21 11:05:36.325532" } 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 11:05:36 +0000 (0:00:00.302) 0:00:26.208 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:05:36 +0000 (0:00:00.060) 0:00:26.268 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:05:36 +0000 (0:00:00.033) 0:00:26.302 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:05:36 +0000 (0:00:00.047) 0:00:26.349 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.055) 0:00:26.405 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.304) 0:00:26.709 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.048) 0:00:26.758 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.057) 0:00:26.815 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.059) 0:00:26.875 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.040) 0:00:26.916 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.053) 0:00:26.970 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.023) 0:00:26.993 ********* ok: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.040) 0:00:27.034 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.041) 0:00:27.075 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.022) 0:00:27.097 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.022) 0:00:27.120 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.024) 0:00:27.145 ********* 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/verify-pool-md.yml:24 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.024) 0:00:27.170 ********* 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/verify-pool-md.yml:30 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.022) 0:00:27.193 ********* 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/verify-pool-md.yml:36 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.025) 0:00:27.218 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.026) 0:00:27.245 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.037) 0:00:27.282 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.044) 0:00:27.327 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 11:05:37 +0000 (0:00:00.045) 0:00:27.372 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.029) 0:00:27.402 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.028) 0:00:27.431 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.028) 0:00:27.459 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.085) 0:00:27.545 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.043) 0:00:27.589 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.022) 0:00:27.611 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.021) 0:00:27.633 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.024) 0:00:27.657 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.022) 0:00:27.679 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.047) 0:00:27.727 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.049) 0:00:27.777 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.028) 0:00:27.805 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-7.qcow2c.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.039) 0:00:27.845 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.047) 0:00:27.892 ********* 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/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.046) 0:00:27.939 ********* 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/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.034) 0:00:27.973 ********* 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/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.034) 0:00:28.008 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.035) 0:00:28.043 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.031) 0:00:28.075 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.032) 0:00:28.107 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.046) 0:00:28.154 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.042) 0:00:28.196 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.023) 0:00:28.220 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.023) 0:00:28.244 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.022) 0:00:28.267 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.022) 0:00:28.290 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.022) 0:00:28.312 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.023) 0:00:28.336 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 11:05:38 +0000 (0:00:00.022) 0:00:28.359 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:05:39 +0000 (0:00:00.033) 0:00:28.393 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:05:39 +0000 (0:00:00.033) 0:00:28.427 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/mapper/foo-newvol', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'ext4', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/foo-newvol', 'size': '2 GiB', 'mount_point': '', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'newvol', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': 'newvol', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/foo-newvol', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 11:05:39 +0000 (0:00:00.041) 0:00:28.468 ********* 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 11:05:39 +0000 (0:00:00.050) 0:00:28.519 ********* 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 11:05:39 +0000 (0:00:00.078) 0:00:28.597 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-newvol" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 11:05:39 +0000 (0:00:00.110) 0:00:28.708 ********* 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 11:05:39 +0000 (0:00:00.056) 0:00:28.764 ********* 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 11:05:39 +0000 (0:00:00.023) 0:00:28.787 ********* 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 11:05:39 +0000 (0:00:00.048) 0:00:28.836 ********* 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 11:05:39 +0000 (0:00:00.034) 0:00:28.871 ********* 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 11:05:39 +0000 (0:00:00.022) 0:00:28.894 ********* 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 11:05:39 +0000 (0:00:00.022) 0:00:28.916 ********* 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 11:05:39 +0000 (0:00:00.023) 0:00:28.940 ********* 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 11:05:39 +0000 (0:00:00.031) 0:00:28.972 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 11:05:39 +0000 (0:00:00.059) 0:00:29.031 ********* 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 11:05:39 +0000 (0:00:00.048) 0:00:29.080 ********* 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 11:05:39 +0000 (0:00:00.047) 0:00:29.128 ********* 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 11:05:39 +0000 (0:00:00.034) 0:00:29.162 ********* 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 11:05:39 +0000 (0:00:00.034) 0:00:29.196 ********* 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 11:05:39 +0000 (0:00:00.039) 0:00:29.235 ********* 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 11:05:39 +0000 (0:00:00.038) 0:00:29.273 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658401533.662687, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658401533.662687, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 28808, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658401533.662687, "nlink": 1, "path": "/dev/mapper/foo-newvol", "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 11:05:40 +0000 (0:00:00.317) 0:00:29.591 ********* 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 11:05:40 +0000 (0:00:00.046) 0:00:29.637 ********* 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 11:05:40 +0000 (0:00:00.044) 0:00:29.682 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "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 11:05:40 +0000 (0:00:00.040) 0:00:29.722 ********* 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 11:05:40 +0000 (0:00:00.025) 0:00:29.747 ********* 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 11:05:40 +0000 (0:00:00.041) 0:00:29.789 ********* 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 11:05:40 +0000 (0:00:00.025) 0:00:29.814 ********* 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 11:05:40 +0000 (0:00:00.510) 0:00:30.325 ********* 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 11:05:40 +0000 (0:00:00.025) 0:00:30.351 ********* 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 11:05:40 +0000 (0:00:00.024) 0:00:30.375 ********* 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 11:05:41 +0000 (0:00:00.053) 0:00:30.428 ********* 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 11:05:41 +0000 (0:00:00.024) 0:00:30.453 ********* 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 11:05:41 +0000 (0:00:00.025) 0:00:30.478 ********* 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 11:05:41 +0000 (0:00:00.024) 0:00:30.502 ********* 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 11:05:41 +0000 (0:00:00.024) 0:00:30.526 ********* 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 11:05:41 +0000 (0:00:00.024) 0:00:30.551 ********* 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 11:05:41 +0000 (0:00:00.091) 0:00:30.642 ********* 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 11:05:41 +0000 (0:00:00.080) 0:00:30.723 ********* 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 11:05:41 +0000 (0:00:00.037) 0:00:30.760 ********* 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 11:05:41 +0000 (0:00:00.098) 0:00:30.858 ********* 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 11:05:41 +0000 (0:00:00.037) 0:00:30.896 ********* 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 11:05:41 +0000 (0:00:00.035) 0:00:30.931 ********* 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 11:05:41 +0000 (0:00:00.038) 0:00:30.969 ********* 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 11:05:41 +0000 (0:00:00.036) 0:00:31.006 ********* 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 11:05:41 +0000 (0:00:00.036) 0:00:31.042 ********* 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 11:05:41 +0000 (0:00:00.036) 0:00:31.078 ********* 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 11:05:41 +0000 (0:00:00.037) 0:00:31.116 ********* 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 11:05:41 +0000 (0:00:00.036) 0:00:31.152 ********* 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 11:05:41 +0000 (0:00:00.036) 0:00:31.189 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } 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 11:05:42 +0000 (0:00:00.310) 0:00:31.499 ********* ok: [/cache/centos-7.qcow2c.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 11:05:42 +0000 (0:00:00.310) 0:00:31.809 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 11:05:42 +0000 (0:00:00.052) 0:00:31.861 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 11:05:42 +0000 (0:00:00.036) 0:00:31.898 ********* 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 11:05:42 +0000 (0:00:00.036) 0:00:31.935 ********* 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 11:05:42 +0000 (0:00:00.036) 0:00:31.972 ********* 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 11:05:42 +0000 (0:00:00.040) 0:00:32.012 ********* 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 11:05:42 +0000 (0:00:00.036) 0:00:32.049 ********* 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 11:05:42 +0000 (0:00:00.036) 0:00:32.086 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 11:05:42 +0000 (0:00:00.036) 0:00:32.123 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 11:05:42 +0000 (0:00:00.039) 0:00:32.162 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 11:05:42 +0000 (0:00:00.051) 0:00:32.214 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/newvol" ], "delta": "0:00:00.025403", "end": "2022-07-21 11:05:42.675607", "rc": 0, "start": "2022-07-21 11:05:42.650204" } STDOUT: LVM2_LV_NAME=newvol LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 11:05:43 +0000 (0:00:00.339) 0:00:32.554 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 11:05:43 +0000 (0:00:00.052) 0:00:32.607 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 11:05:43 +0000 (0:00:00.052) 0:00:32.659 ********* 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 11:05:43 +0000 (0:00:00.039) 0:00:32.699 ********* 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 11:05:43 +0000 (0:00:00.039) 0:00:32.738 ********* 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 11:05:43 +0000 (0:00:00.040) 0:00:32.779 ********* 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 11:05:43 +0000 (0:00:00.039) 0:00:32.818 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } 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 11:05:43 +0000 (0:00:00.067) 0:00:32.886 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:05:43 +0000 (0:00:00.023) 0:00:32.910 ********* 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_existing_lvm_pool.yml:55 Thursday 21 July 2022 11:05:43 +0000 (0:00:00.034) 0:00:32.945 ********* 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 11:05:43 +0000 (0:00:00.102) 0:00:33.048 ********* 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 11:05:43 +0000 (0:00:00.036) 0:00:33.084 ********* 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 11:05:44 +0000 (0:00:00.408) 0:00:33.492 ********* 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 11:05:44 +0000 (0:00:00.064) 0:00:33.557 ********* 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 11:05:44 +0000 (0:00:00.035) 0:00:33.592 ********* 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 11:05:44 +0000 (0:00:00.038) 0:00:33.631 ********* 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 11:05:44 +0000 (0:00:00.056) 0:00:33.687 ********* 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 11:05:44 +0000 (0:00:00.021) 0:00:33.709 ********* 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 11:05:44 +0000 (0:00:00.031) 0:00:33.740 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": [ { "name": "foo", "state": "absent" } ] } 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 11:05:44 +0000 (0:00:00.038) 0:00:33.778 ********* 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 11:05:44 +0000 (0:00:00.039) 0:00:33.818 ********* 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 11:05:44 +0000 (0:00:00.029) 0:00:33.847 ********* 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 11:05:44 +0000 (0:00:00.029) 0:00:33.876 ********* 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 11:05:44 +0000 (0:00:00.028) 0:00:33.905 ********* 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 11:05:44 +0000 (0:00:00.029) 0:00:33.935 ********* 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 11:05:44 +0000 (0:00:00.056) 0:00:33.991 ********* 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 11:05:44 +0000 (0:00:00.022) 0:00:34.013 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 11:05:46 +0000 (0:00:02.109) 0:00:36.123 ********* 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 11:05:46 +0000 (0:00:00.037) 0:00:36.160 ********* 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 11:05:46 +0000 (0:00:00.023) 0:00:36.183 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-newvol", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-newvol", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 11:05:46 +0000 (0:00:00.074) 0:00:36.258 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 11:05:46 +0000 (0:00:00.039) 0:00:36.298 ********* 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 11:05:46 +0000 (0:00:00.070) 0:00:36.368 ********* 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 11:05:47 +0000 (0:00:00.036) 0:00:36.405 ********* 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 11:05:47 +0000 (0:00:00.059) 0:00:36.464 ********* 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 11:05:47 +0000 (0:00:00.037) 0:00:36.502 ********* 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 11:05:47 +0000 (0:00:00.026) 0:00:36.529 ********* 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 11:05:47 +0000 (0:00:00.321) 0:00:36.850 ********* 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 11:05:47 +0000 (0:00:00.024) 0:00:36.875 ********* 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_existing_lvm_pool.yml:63 Thursday 21 July 2022 11:05:48 +0000 (0:00:00.812) 0:00:37.687 ********* 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 11:05:48 +0000 (0:00:00.044) 0:00:37.731 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 11:05:48 +0000 (0:00:00.051) 0:00:37.783 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 11:05:48 +0000 (0:00:00.034) 0:00:37.818 ********* 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-11-04-56-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 11:05:48 +0000 (0:00:00.316) 0:00:38.134 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004118", "end": "2022-07-21 11:05:48.556092", "rc": 0, "start": "2022-07-21 11:05:48.551974" } 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 11:05:49 +0000 (0:00:00.300) 0:00:38.435 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.004174", "end": "2022-07-21 11:05:48.870503", "failed_when_result": false, "rc": 0, "start": "2022-07-21 11:05:48.866329" } 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 11:05:49 +0000 (0:00:00.316) 0:00:38.752 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'foo', 'encryption_password': None, 'state': 'absent', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['nvme1n1'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.054) 0:00:38.807 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.077) 0:00:38.884 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml for /cache/centos-7.qcow2c.snap => (item=members) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml for /cache/centos-7.qcow2c.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.053) 0:00:38.938 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.094) 0:00:39.033 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.022) 0:00:39.056 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.085) 0:00:39.141 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.048) 0:00:39.189 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.049) 0:00:39.239 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.039) 0:00:39.278 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.049) 0:00:39.328 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.024) 0:00:39.353 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 11:05:49 +0000 (0:00:00.021) 0:00:39.375 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml for /cache/centos-7.qcow2c.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.044) 0:00:39.419 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.025) 0:00:39.444 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.024) 0:00:39.468 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.023) 0:00:39.492 ********* 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/verify-pool-md.yml:24 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.024) 0:00:39.516 ********* 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/verify-pool-md.yml:30 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.023) 0:00:39.539 ********* 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/verify-pool-md.yml:36 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.023) 0:00:39.563 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.024) 0:00:39.588 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.034) 0:00:39.622 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.044) 0:00:39.667 ********* TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.020) 0:00:39.687 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.044) 0:00:39.731 ********* TASK [Check member encryption] ************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.023) 0:00:39.755 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml for /cache/centos-7.qcow2c.snap TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.047) 0:00:39.803 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.052) 0:00:39.855 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.022) 0:00:39.878 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.020) 0:00:39.899 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.034) 0:00:39.933 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml for /cache/centos-7.qcow2c.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.049) 0:00:39.982 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.022) 0:00:40.005 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.034) 0:00:40.040 ********* 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 11:05:50 +0000 (0:00:00.022) 0:00:40.062 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.020) 0:00:40.082 ********* 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=248 changed=3 unreachable=0 failed=0 skipped=197 rescued=0 ignored=0 Thursday 21 July 2022 11:05:50 +0000 (0:00:00.045) 0:00:40.127 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.11s /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.77s /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.73s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 1.16s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmptuh8_vrz/tests/storage/tests_existing_lvm_pool.yml:2 ------------------ fedora.linux_system_roles.storage : make sure blivet is available ------- 0.95s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : Update facts ------------------------ 0.87s /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.81s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : get required packages --------------- 0.65s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Ensure cryptsetup is present -------------------------------------------- 0.56s /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 0.54s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 0.51s /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 0.50s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Find unused disks in the system ----------------------------------------- 0.46s /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:2 -------------------------- Get the canonical device path for each member device -------------------- 0.45s /tmp/tmptuh8_vrz/tests/storage/test-verify-pool-members.yml:6 ----------------- fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 0.44s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 parse the actual size of the volume ------------------------------------- 0.44s /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:3 ------------------ fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 0.41s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2