ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmphvsi2pl0 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_change_disk_mount.yml ****************************************** 1 plays in /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:2 Thursday 21 July 2022 07:14:39 +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_change_disk_mount.yml:10 Thursday 21 July 2022 07:14:41 +0000 (0:00:01.157) 0:00:01.170 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:14:41 +0000 (0:00:00.055) 0:00:01.226 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:14:41 +0000 (0:00:00.030) 0:00:01.256 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:14:41 +0000 (0:00:00.406) 0:00:01.663 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:14:41 +0000 (0:00:00.053) 0:00:01.716 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:14:41 +0000 (0:00:00.030) 0:00:01.746 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:14:41 +0000 (0:00:00.030) 0:00:01.777 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:14:41 +0000 (0:00:00.044) 0:00:01.821 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:14:41 +0000 (0:00:00.018) 0:00:01.840 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-enum34-1.0.4-1.el7.noarch providing python-enum34 is already installed", "1:python2-blivet3-3.1.3-3.el7.noarch providing python-blivet3 is already installed", "libblockdev-crypto-2.18-5.el7.x86_64 providing libblockdev-crypto is already installed", "libblockdev-dm-2.18-5.el7.x86_64 providing libblockdev-dm is already installed", "libblockdev-lvm-2.18-5.el7.x86_64 providing libblockdev-lvm is already installed", "libblockdev-mdraid-2.18-5.el7.x86_64 providing libblockdev-mdraid is already installed", "libblockdev-swap-2.18-5.el7.x86_64 providing libblockdev-swap is already installed" ] } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:14:42 +0000 (0:00:00.994) 0:00:02.834 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:14:42 +0000 (0:00:00.033) 0:00:02.867 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:14:42 +0000 (0:00:00.033) 0:00:02.901 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:14:43 +0000 (0:00:00.659) 0:00:03.560 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 07:14:43 +0000 (0:00:00.041) 0:00:03.602 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 07:14:43 +0000 (0:00:00.030) 0:00:03.632 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 07:14:43 +0000 (0:00:00.032) 0:00:03.665 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:14:43 +0000 (0:00:00.037) 0:00:03.703 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [] } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:14:44 +0000 (0:00:00.530) 0:00:04.233 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "services": { "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "exim.service": { "name": "exim.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "running", "status": "active" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:14:45 +0000 (0:00:01.166) 0:00:05.399 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:14:45 +0000 (0:00:00.083) 0:00:05.483 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:14:45 +0000 (0:00:00.020) 0:00:05.504 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:14:45 +0000 (0:00:00.503) 0:00:06.008 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:14:45 +0000 (0:00:00.035) 0:00:06.043 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:14:45 +0000 (0:00:00.021) 0:00:06.065 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:14:46 +0000 (0:00:00.066) 0:00:06.131 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:14:46 +0000 (0:00:00.032) 0:00:06.164 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:14:46 +0000 (0:00:00.034) 0:00:06.198 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:14:46 +0000 (0:00:00.034) 0:00:06.233 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:14:46 +0000 (0:00:00.022) 0:00:06.255 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:14:46 +0000 (0:00:00.033) 0:00:06.289 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:14:46 +0000 (0:00:00.022) 0:00:06.312 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:14:46 +0000 (0:00:00.411) 0:00:06.724 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:14:46 +0000 (0:00:00.022) 0:00:06.746 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:13 Thursday 21 July 2022 07:14:47 +0000 (0:00:00.897) 0:00:07.644 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:20 Thursday 21 July 2022 07:14:47 +0000 (0:00:00.030) 0:00:07.675 ********* included: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml for /cache/centos-7.qcow2c.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:2 Thursday 21 July 2022 07:14:47 +0000 (0:00:00.034) 0:00:07.709 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:9 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.452) 0:00:08.162 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:14 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.035) 0:00:08.198 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/get_unused_disk.yml:19 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.036) 0:00:08.235 ********* ok: [/cache/centos-7.qcow2c.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create a disk device mounted at "/opt/test1"] **************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:25 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.036) 0:00:08.271 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.041) 0:00:08.313 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.055) 0:00:08.368 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.405) 0:00:08.773 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.058) 0:00:08.832 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.031) 0:00:08.863 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.031) 0:00:08.894 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.043) 0:00:08.938 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.019) 0:00:08.957 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.026) 0:00:08.983 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.034) 0:00:09.018 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.036) 0:00:09.055 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:14:48 +0000 (0:00:00.026) 0:00:09.081 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:14:49 +0000 (0:00:00.025) 0:00:09.107 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:14:49 +0000 (0:00:00.026) 0:00:09.133 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:14:49 +0000 (0:00:00.027) 0:00:09.160 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:14:49 +0000 (0:00:00.075) 0:00:09.235 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:14:49 +0000 (0:00:00.025) 0:00:09.261 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:14:50 +0000 (0:00:01.379) 0:00:10.640 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:14:50 +0000 (0:00:00.034) 0:00:10.674 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:14:50 +0000 (0:00:00.019) 0:00:10.694 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:14:50 +0000 (0:00:00.036) 0:00:10.730 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:14:50 +0000 (0:00:00.032) 0:00:10.763 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:14:50 +0000 (0:00:00.060) 0:00:10.823 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:14:50 +0000 (0:00:00.035) 0:00:10.859 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:14:51 +0000 (0:00:00.707) 0:00:11.567 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=f62e6832-5fba-43d3-8423-2988d0251f48', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:14:51 +0000 (0:00:00.472) 0:00:12.040 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:14:52 +0000 (0:00:00.461) 0:00:12.501 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:14:52 +0000 (0:00:00.304) 0:00:12.805 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:14:52 +0000 (0:00:00.020) 0:00:12.826 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:35 Thursday 21 July 2022 07:14:53 +0000 (0:00:00.852) 0:00:13.679 ********* included: /tmp/tmp8lr32tv2/tests/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:14:53 +0000 (0:00:00.037) 0:00:13.717 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:14:53 +0000 (0:00:00.034) 0:00:13.751 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:14:53 +0000 (0:00:00.047) 0:00:13.799 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "f62e6832-5fba-43d3-8423-2988d0251f48" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-14-25-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:14:54 +0000 (0:00:00.428) 0:00:14.228 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003688", "end": "2022-07-21 07:14:53.915632", "rc": 0, "start": "2022-07-21 07:14:53.911944" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=f62e6832-5fba-43d3-8423-2988d0251f48 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:14:54 +0000 (0:00:00.444) 0:00:14.673 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003525", "end": "2022-07-21 07:14:54.211744", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:14:54.208219" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:14:54 +0000 (0:00:00.298) 0:00:14.971 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:14:54 +0000 (0:00:00.020) 0:00:14.992 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=f62e6832-5fba-43d3-8423-2988d0251f48', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:14:54 +0000 (0:00:00.056) 0:00:15.048 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.075) 0:00:15.124 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.072) 0:00:15.197 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.089) 0:00:15.286 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "f62e6832-5fba-43d3-8423-2988d0251f48" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "f62e6832-5fba-43d3-8423-2988d0251f48" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.054) 0:00:15.341 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.049) 0:00:15.390 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.046) 0:00:15.437 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.048) 0:00:15.485 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.023) 0:00:15.509 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.023) 0:00:15.533 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.022) 0:00:15.556 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.032) 0:00:15.588 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=f62e6832-5fba-43d3-8423-2988d0251f48 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.061) 0:00:15.650 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.049) 0:00:15.699 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.052) 0:00:15.752 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.035) 0:00:15.787 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.037) 0:00:15.824 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.039) 0:00:15.863 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:14:55 +0000 (0:00:00.056) 0:00:15.919 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387689.843087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658387689.843087, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 9584, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658387689.843087, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.320) 0:00:16.239 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.036) 0:00:16.276 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.035) 0:00:16.312 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.034) 0:00:16.347 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.023) 0:00:16.370 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.038) 0:00:16.409 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.022) 0:00:16.432 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.517) 0:00:16.949 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.026) 0:00:16.976 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.023) 0:00:16.999 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.053) 0:00:17.052 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:14:56 +0000 (0:00:00.024) 0:00:17.076 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.024) 0:00:17.100 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.023) 0:00:17.124 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.025) 0:00:17.149 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.054) 0:00:17.204 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.049) 0:00:17.253 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.052) 0:00:17.305 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.036) 0:00:17.342 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.041) 0:00:17.384 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.036) 0:00:17.420 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.040) 0:00:17.461 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.044) 0:00:17.506 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.036) 0:00:17.542 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.036) 0:00:17.579 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.036) 0:00:17.615 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.039) 0:00:17.654 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.035) 0:00:17.689 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.035) 0:00:17.724 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.023) 0:00:17.747 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.038) 0:00:17.786 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.035) 0:00:17.822 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.034) 0:00:17.857 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.035) 0:00:17.892 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.039) 0:00:17.931 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.036) 0:00:17.968 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.036) 0:00:18.004 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:14:57 +0000 (0:00:00.036) 0:00:18.041 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.045) 0:00:18.086 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.040) 0:00:18.126 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.023) 0:00:18.150 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.023) 0:00:18.174 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.025) 0:00:18.199 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.024) 0:00:18.223 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.024) 0:00:18.247 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.023) 0:00:18.271 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.024) 0:00:18.295 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.023) 0:00:18.318 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.033) 0:00:18.351 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device mount location to "/opt/test2"] ******************* task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:37 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.034) 0:00:18.385 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.048) 0:00:18.434 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.035) 0:00:18.470 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.435) 0:00:18.905 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.064) 0:00:18.970 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.033) 0:00:19.003 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.031) 0:00:19.035 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:14:58 +0000 (0:00:00.042) 0:00:19.078 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:14:59 +0000 (0:00:00.020) 0:00:19.099 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:14:59 +0000 (0:00:00.027) 0:00:19.127 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:14:59 +0000 (0:00:00.036) 0:00:19.163 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:14:59 +0000 (0:00:00.037) 0:00:19.201 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:14:59 +0000 (0:00:00.028) 0:00:19.229 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:14:59 +0000 (0:00:00.026) 0:00:19.255 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:14:59 +0000 (0:00:00.026) 0:00:19.281 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:14:59 +0000 (0:00:00.026) 0:00:19.308 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:14:59 +0000 (0:00:00.058) 0:00:19.366 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:14:59 +0000 (0:00:00.021) 0:00:19.388 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:15:00 +0000 (0:00:01.096) 0:00:20.485 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:15:00 +0000 (0:00:00.035) 0:00:20.520 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:15:00 +0000 (0:00:00.020) 0:00:20.541 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:15:00 +0000 (0:00:00.035) 0:00:20.576 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:15:00 +0000 (0:00:00.035) 0:00:20.611 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:15:00 +0000 (0:00:00.034) 0:00:20.646 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:15:00 +0000 (0:00:00.393) 0:00:21.040 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:15:01 +0000 (0:00:00.479) 0:00:21.519 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=f62e6832-5fba-43d3-8423-2988d0251f48', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test2', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:15:01 +0000 (0:00:00.400) 0:00:21.920 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:15:02 +0000 (0:00:00.472) 0:00:22.393 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:15:02 +0000 (0:00:00.361) 0:00:22.754 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:15:02 +0000 (0:00:00.022) 0:00:22.777 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:47 Thursday 21 July 2022 07:15:03 +0000 (0:00:00.840) 0:00:23.618 ********* included: /tmp/tmp8lr32tv2/tests/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:15:03 +0000 (0:00:00.040) 0:00:23.658 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:15:03 +0000 (0:00:00.037) 0:00:23.695 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:15:03 +0000 (0:00:00.049) 0:00:23.745 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "f62e6832-5fba-43d3-8423-2988d0251f48" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-14-25-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:15:03 +0000 (0:00:00.310) 0:00:24.055 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003491", "end": "2022-07-21 07:15:03.601036", "rc": 0, "start": "2022-07-21 07:15:03.597545" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=f62e6832-5fba-43d3-8423-2988d0251f48 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:15:04 +0000 (0:00:00.306) 0:00:24.361 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003511", "end": "2022-07-21 07:15:03.902695", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:15:03.899184" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:15:04 +0000 (0:00:00.300) 0:00:24.662 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:15:04 +0000 (0:00:00.020) 0:00:24.683 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=f62e6832-5fba-43d3-8423-2988d0251f48', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:15:04 +0000 (0:00:00.057) 0:00:24.740 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:15:04 +0000 (0:00:00.048) 0:00:24.789 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:15:04 +0000 (0:00:00.067) 0:00:24.857 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:15:04 +0000 (0:00:00.091) 0:00:24.948 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "f62e6832-5fba-43d3-8423-2988d0251f48" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "f62e6832-5fba-43d3-8423-2988d0251f48" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:15:04 +0000 (0:00:00.053) 0:00:25.001 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:15:04 +0000 (0:00:00.053) 0:00:25.055 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.048) 0:00:25.103 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.049) 0:00:25.153 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.023) 0:00:25.176 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.023) 0:00:25.200 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.023) 0:00:25.223 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.033) 0:00:25.256 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=f62e6832-5fba-43d3-8423-2988d0251f48 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.059) 0:00:25.316 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.048) 0:00:25.364 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.047) 0:00:25.411 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.035) 0:00:25.447 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.034) 0:00:25.481 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.035) 0:00:25.517 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.037) 0:00:25.554 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387689.843087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658387689.843087, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 9584, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658387689.843087, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.324) 0:00:25.878 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.038) 0:00:25.917 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.036) 0:00:25.953 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.034) 0:00:25.988 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.022) 0:00:26.011 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.038) 0:00:26.050 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:15:05 +0000 (0:00:00.024) 0:00:26.074 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.539) 0:00:26.614 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.023) 0:00:26.638 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.023) 0:00:26.661 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.052) 0:00:26.713 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.023) 0:00:26.737 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.023) 0:00:26.760 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.023) 0:00:26.783 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.024) 0:00:26.808 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.052) 0:00:26.860 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.049) 0:00:26.910 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.047) 0:00:26.957 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.036) 0:00:26.994 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.033) 0:00:27.028 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:15:06 +0000 (0:00:00.033) 0:00:27.062 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.032) 0:00:27.095 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.038) 0:00:27.133 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.036) 0:00:27.170 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.035) 0:00:27.205 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.035) 0:00:27.240 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.038) 0:00:27.279 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.036) 0:00:27.315 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.035) 0:00:27.350 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.023) 0:00:27.373 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.038) 0:00:27.412 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.035) 0:00:27.448 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.034) 0:00:27.482 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.034) 0:00:27.517 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.037) 0:00:27.555 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.034) 0:00:27.590 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.034) 0:00:27.624 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.034) 0:00:27.659 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.036) 0:00:27.695 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.033) 0:00:27.729 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.022) 0:00:27.751 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.022) 0:00:27.774 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.023) 0:00:27.797 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.022) 0:00:27.819 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.022) 0:00:27.842 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.022) 0:00:27.864 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.023) 0:00:27.888 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.022) 0:00:27.910 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.032) 0:00:27.943 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:49 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.033) 0:00:27.976 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.048) 0:00:28.025 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:15:07 +0000 (0:00:00.033) 0:00:28.059 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.437) 0:00:28.496 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.061) 0:00:28.558 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.033) 0:00:28.592 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.034) 0:00:28.626 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.045) 0:00:28.672 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.020) 0:00:28.693 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.027) 0:00:28.720 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.036) 0:00:28.757 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.043) 0:00:28.800 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.031) 0:00:28.831 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.031) 0:00:28.862 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.029) 0:00:28.892 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.033) 0:00:28.926 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.057) 0:00:28.983 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:15:08 +0000 (0:00:00.021) 0:00:29.005 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:15:10 +0000 (0:00:01.134) 0:00:30.140 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:15:10 +0000 (0:00:00.035) 0:00:30.176 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:15:10 +0000 (0:00:00.020) 0:00:30.197 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:15:10 +0000 (0:00:00.038) 0:00:30.235 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:15:10 +0000 (0:00:00.034) 0:00:30.270 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:15:10 +0000 (0:00:00.037) 0:00:30.308 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:15:10 +0000 (0:00:00.038) 0:00:30.346 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:15:10 +0000 (0:00:00.439) 0:00:30.785 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=f62e6832-5fba-43d3-8423-2988d0251f48', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test2', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:15:11 +0000 (0:00:00.382) 0:00:31.168 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:15:11 +0000 (0:00:00.429) 0:00:31.597 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:15:11 +0000 (0:00:00.346) 0:00:31.944 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:15:11 +0000 (0:00:00.021) 0:00:31.966 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:59 Thursday 21 July 2022 07:15:12 +0000 (0:00:00.896) 0:00:32.862 ********* included: /tmp/tmp8lr32tv2/tests/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:15:12 +0000 (0:00:00.043) 0:00:32.906 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:15:12 +0000 (0:00:00.037) 0:00:32.944 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:15:12 +0000 (0:00:00.064) 0:00:33.008 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "f62e6832-5fba-43d3-8423-2988d0251f48" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-14-25-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:15:13 +0000 (0:00:00.320) 0:00:33.329 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003860", "end": "2022-07-21 07:15:12.877984", "rc": 0, "start": "2022-07-21 07:15:12.874124" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=f62e6832-5fba-43d3-8423-2988d0251f48 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:15:13 +0000 (0:00:00.310) 0:00:33.639 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003915", "end": "2022-07-21 07:15:13.187444", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:15:13.183529" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:15:13 +0000 (0:00:00.309) 0:00:33.948 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:15:13 +0000 (0:00:00.020) 0:00:33.969 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=f62e6832-5fba-43d3-8423-2988d0251f48', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:15:13 +0000 (0:00:00.054) 0:00:34.024 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:15:13 +0000 (0:00:00.047) 0:00:34.071 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.068) 0:00:34.139 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.040) 0:00:34.180 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "f62e6832-5fba-43d3-8423-2988d0251f48" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "f62e6832-5fba-43d3-8423-2988d0251f48" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.083) 0:00:34.264 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.079) 0:00:34.343 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.074) 0:00:34.418 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.048) 0:00:34.467 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.022) 0:00:34.490 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.023) 0:00:34.513 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.023) 0:00:34.536 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.033) 0:00:34.569 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=f62e6832-5fba-43d3-8423-2988d0251f48 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.073) 0:00:34.643 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.054) 0:00:34.698 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.048) 0:00:34.746 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.035) 0:00:34.782 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.034) 0:00:34.816 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.036) 0:00:34.852 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:15:14 +0000 (0:00:00.038) 0:00:34.890 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387689.843087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658387689.843087, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 9584, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658387689.843087, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.319) 0:00:35.209 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.038) 0:00:35.248 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.037) 0:00:35.285 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.035) 0:00:35.320 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.023) 0:00:35.344 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.039) 0:00:35.383 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.022) 0:00:35.405 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.523) 0:00:35.929 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.023) 0:00:35.952 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.023) 0:00:35.975 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.056) 0:00:36.032 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:15:15 +0000 (0:00:00.026) 0:00:36.058 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.027) 0:00:36.085 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.032) 0:00:36.118 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.032) 0:00:36.151 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.034) 0:00:36.186 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.087) 0:00:36.273 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.077) 0:00:36.351 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.066) 0:00:36.417 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.452 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.487 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.522 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.558 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.593 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.034) 0:00:36.628 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.036) 0:00:36.664 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.700 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.735 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.770 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.024) 0:00:36.795 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.830 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.866 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.901 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.036) 0:00:36.938 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:36.973 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.035) 0:00:37.009 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.034) 0:00:37.044 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:15:16 +0000 (0:00:00.036) 0:00:37.080 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.038) 0:00:37.119 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.040) 0:00:37.160 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.024) 0:00:37.185 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.024) 0:00:37.209 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.022) 0:00:37.231 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.022) 0:00:37.254 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.022) 0:00:37.276 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.023) 0:00:37.300 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.022) 0:00:37.323 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.022) 0:00:37.346 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.033) 0:00:37.379 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:61 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.035) 0:00:37.414 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.056) 0:00:37.471 ********* included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.034) 0:00:37.506 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.414) 0:00:37.920 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.091) 0:00:38.011 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.032) 0:00:38.044 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 07:15:17 +0000 (0:00:00.033) 0:00:38.077 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 07:15:18 +0000 (0:00:00.045) 0:00:38.122 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 07:15:18 +0000 (0:00:00.020) 0:00:38.143 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 07:15:18 +0000 (0:00:00.027) 0:00:38.171 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 07:15:18 +0000 (0:00:00.036) 0:00:38.207 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "state": "absent", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 07:15:18 +0000 (0:00:00.035) 0:00:38.243 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 07:15:18 +0000 (0:00:00.027) 0:00:38.271 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 07:15:18 +0000 (0:00:00.026) 0:00:38.298 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 07:15:18 +0000 (0:00:00.030) 0:00:38.328 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 07:15:18 +0000 (0:00:00.027) 0:00:38.356 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 07:15:18 +0000 (0:00:00.058) 0:00:38.415 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 07:15:18 +0000 (0:00:00.022) 0:00:38.437 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 07:15:19 +0000 (0:00:01.418) 0:00:39.855 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 07:15:19 +0000 (0:00:00.037) 0:00:39.892 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 07:15:19 +0000 (0:00:00.020) 0:00:39.913 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 07:15:19 +0000 (0:00:00.036) 0:00:39.950 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 07:15:19 +0000 (0:00:00.038) 0:00:39.989 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 07:15:19 +0000 (0:00:00.039) 0:00:40.029 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=f62e6832-5fba-43d3-8423-2988d0251f48', 'state': 'absent', 'path': '/opt/test2', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 07:15:20 +0000 (0:00:00.335) 0:00:40.364 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 07:15:20 +0000 (0:00:00.428) 0:00:40.792 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 07:15:20 +0000 (0:00:00.042) 0:00:40.835 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 07:15:21 +0000 (0:00:00.447) 0:00:41.282 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 07:15:21 +0000 (0:00:00.345) 0:00:41.627 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 07:15:21 +0000 (0:00:00.022) 0:00:41.650 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:72 Thursday 21 July 2022 07:15:22 +0000 (0:00:00.865) 0:00:42.516 ********* included: /tmp/tmp8lr32tv2/tests/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:1 Thursday 21 July 2022 07:15:22 +0000 (0:00:00.046) 0:00:42.562 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:6 Thursday 21 July 2022 07:15:22 +0000 (0:00:00.039) 0:00:42.601 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=f62e6832-5fba-43d3-8423-2988d0251f48", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:14 Thursday 21 July 2022 07:15:22 +0000 (0:00:00.047) 0:00:42.649 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-07-14-25-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:19 Thursday 21 July 2022 07:15:22 +0000 (0:00:00.311) 0:00:42.961 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003591", "end": "2022-07-21 07:15:22.501184", "rc": 0, "start": "2022-07-21 07:15:22.497593" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:24 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.302) 0:00:43.263 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003461", "end": "2022-07-21 07:15:22.831499", "failed_when_result": false, "rc": 0, "start": "2022-07-21 07:15:22.828038" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:33 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.327) 0:00:43.590 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:43 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.020) 0:00:43.611 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'absent', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=f62e6832-5fba-43d3-8423-2988d0251f48', 'raid_spare_count': None, 'name': 'test1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:2 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.058) 0:00:43.669 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:10 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.047) 0:00:43.717 ********* included: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.069) 0:00:43.786 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.066) 0:00:43.853 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.052) 0:00:43.906 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.022) 0:00:43.929 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.047) 0:00:43.977 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.034) 0:00:44.011 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.022) 0:00:44.034 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.022) 0:00:44.056 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 07:15:23 +0000 (0:00:00.023) 0:00:44.080 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.031) 0:00:44.111 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.059) 0:00:44.170 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.023) 0:00:44.193 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.047) 0:00:44.241 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.035) 0:00:44.276 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.038) 0:00:44.315 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.024) 0:00:44.339 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.023) 0:00:44.363 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387719.055087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658387719.055087, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 9584, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658387719.055087, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.334) 0:00:44.697 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.036) 0:00:44.734 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.022) 0:00:44.757 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.033) 0:00:44.790 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.022) 0:00:44.813 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.021) 0:00:44.834 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 07:15:24 +0000 (0:00:00.022) 0:00:44.857 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.521) 0:00:45.379 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.032) 0:00:45.411 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.031) 0:00:45.442 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.030) 0:00:45.473 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.031) 0:00:45.504 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.030) 0:00:45.535 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.022) 0:00:45.557 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.022) 0:00:45.579 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.022) 0:00:45.602 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.051) 0:00:45.654 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.079) 0:00:45.733 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.034) 0:00:45.768 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.036) 0:00:45.805 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.034) 0:00:45.839 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.066) 0:00:45.906 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.036) 0:00:45.942 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.068) 0:00:46.011 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.035) 0:00:46.046 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 07:15:25 +0000 (0:00:00.034) 0:00:46.081 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.036) 0:00:46.118 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.036) 0:00:46.154 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.036) 0:00:46.191 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.024) 0:00:46.215 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.037) 0:00:46.253 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.034) 0:00:46.288 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.034) 0:00:46.322 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.034) 0:00:46.356 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.035) 0:00:46.392 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.034) 0:00:46.426 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.035) 0:00:46.461 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.035) 0:00:46.497 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.037) 0:00:46.534 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.033) 0:00:46.567 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.022) 0:00:46.589 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.022) 0:00:46.612 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.023) 0:00:46.635 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.021) 0:00:46.657 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.021) 0:00:46.678 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.021) 0:00:46.700 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.022) 0:00:46.722 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp8lr32tv2/tests/test-verify-volume.yml:16 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.021) 0:00:46.744 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp8lr32tv2/tests/verify-role-results.yml:53 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.032) 0:00:46.776 ********* 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=259 changed=6 unreachable=0 failed=0 skipped=228 rescued=0 ignored=0 Thursday 21 July 2022 07:15:26 +0000 (0:00:00.045) 0:00:46.821 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.42s /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.38s /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 Gathering Facts --------------------------------------------------------- 1.16s /tmp/tmp8lr32tv2/tests/tests_change_disk_mount.yml:2 -------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.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.10s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 0.99s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : Update facts ------------------------------- 0.90s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.90s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.87s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.85s /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 : tell systemd to refresh its view of /etc/fstab --- 0.71s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : get required packages ---------------------- 0.66s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Ensure cryptsetup is present -------------------------------------------- 0.54s /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 0.53s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 0.52s /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 0.52s /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 0.52s /tmp/tmp8lr32tv2/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 0.50s /tmp/tmp8lr32tv2/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmphvsi2pl0 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_change_disk_mount.yml ****************************************** 1 plays in /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:2 Thursday 21 July 2022 10: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_change_disk_mount.yml:10 Thursday 21 July 2022 10:05:11 +0000 (0:00:01.192) 0:00:01.205 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 10:05:11 +0000 (0:00:00.059) 0:00:01.265 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 10:05:11 +0000 (0:00:00.031) 0:00:01.297 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 10:05:11 +0000 (0:00:00.418) 0:00:01.716 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 10:05:11 +0000 (0:00:00.058) 0:00:01.774 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 10:05:11 +0000 (0:00:00.032) 0:00:01.807 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 10:05:11 +0000 (0:00:00.032) 0:00:01.839 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 10:05:11 +0000 (0:00:00.055) 0:00:01.894 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 10:05:11 +0000 (0:00:00.020) 0:00:01.915 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-enum34-1.0.4-1.el7.noarch providing python-enum34 is already installed", "1:python2-blivet3-3.1.3-3.el7.noarch providing python-blivet3 is already installed", "libblockdev-crypto-2.18-5.el7.x86_64 providing libblockdev-crypto is already installed", "libblockdev-dm-2.18-5.el7.x86_64 providing libblockdev-dm is already installed", "libblockdev-lvm-2.18-5.el7.x86_64 providing libblockdev-lvm is already installed", "libblockdev-mdraid-2.18-5.el7.x86_64 providing libblockdev-mdraid is already installed", "libblockdev-swap-2.18-5.el7.x86_64 providing libblockdev-swap is already installed" ] } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 10:05:12 +0000 (0:00:01.008) 0:00:02.923 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 10:05:12 +0000 (0:00:00.035) 0:00:02.959 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 10:05:13 +0000 (0:00:00.035) 0:00:02.994 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 10:05:13 +0000 (0:00:00.673) 0:00:03.668 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 10:05:13 +0000 (0:00:00.045) 0:00:03.713 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 10:05:13 +0000 (0:00:00.033) 0:00:03.746 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 10:05:13 +0000 (0:00:00.036) 0:00:03.783 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 10:05:13 +0000 (0:00:00.030) 0:00:03.813 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [] } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 10:05:14 +0000 (0:00:00.578) 0:00:04.392 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "services": { "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "inactive", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "exim.service": { "name": "exim.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "running", "status": "active" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 10:05:15 +0000 (0:00:01.210) 0:00:05.603 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 10:05:15 +0000 (0:00:00.080) 0:00:05.683 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 10:05:15 +0000 (0:00:00.021) 0:00:05.705 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.520) 0:00:06.225 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.038) 0:00:06.263 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.021) 0:00:06.285 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.038) 0:00:06.324 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.040) 0:00:06.364 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.037) 0:00:06.402 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.038) 0:00:06.440 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.025) 0:00:06.466 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.035) 0:00:06.501 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.024) 0:00:06.526 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.412) 0:00:06.939 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 10:05:16 +0000 (0:00:00.022) 0:00:06.961 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:13 Thursday 21 July 2022 10:05:17 +0000 (0:00:00.855) 0:00:07.817 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:20 Thursday 21 July 2022 10:05:17 +0000 (0:00:00.033) 0:00:07.850 ********* included: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml for /cache/centos-7.qcow2c.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 10:05:17 +0000 (0:00:00.035) 0:00:07.886 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 10:05:18 +0000 (0:00:00.451) 0:00:08.338 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 10:05:18 +0000 (0:00:00.069) 0:00:08.407 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 10:05:18 +0000 (0:00:00.066) 0:00:08.473 ********* ok: [/cache/centos-7.qcow2c.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create a disk device mounted at "/opt/test1"] **************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:25 Thursday 21 July 2022 10:05:18 +0000 (0:00:00.034) 0:00:08.508 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 10:05:18 +0000 (0:00:00.044) 0:00:08.553 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 10:05:18 +0000 (0:00:00.035) 0:00:08.588 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.433) 0:00:09.022 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.062) 0:00:09.084 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.045) 0:00:09.130 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.037) 0:00:09.167 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.055) 0:00:09.223 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.021) 0:00:09.245 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.031) 0:00:09.276 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.034) 0:00:09.311 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.037) 0:00:09.349 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.027) 0:00:09.376 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.030) 0:00:09.406 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.028) 0:00:09.435 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.028) 0:00:09.464 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.057) 0:00:09.522 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 10:05:19 +0000 (0:00:00.021) 0:00:09.543 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 10:05:20 +0000 (0:00:01.367) 0:00:10.910 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 10:05:20 +0000 (0:00:00.037) 0:00:10.948 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 10:05:21 +0000 (0:00:00.022) 0:00:10.971 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 10:05:21 +0000 (0:00:00.067) 0:00:11.038 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 10:05:21 +0000 (0:00:00.090) 0:00:11.129 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 10:05:21 +0000 (0:00:00.037) 0:00:11.166 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 10:05:21 +0000 (0:00:00.037) 0:00:11.203 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 10:05:21 +0000 (0:00:00.715) 0:00:11.919 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=1d1621b3-a457-4866-850e-1b55cca86701', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 10:05:22 +0000 (0:00:00.481) 0:00:12.401 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 10:05:22 +0000 (0:00:00.462) 0:00:12.863 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 10:05:23 +0000 (0:00:00.351) 0:00:13.214 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 10:05:23 +0000 (0:00:00.023) 0:00:13.238 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:35 Thursday 21 July 2022 10:05:24 +0000 (0:00:00.886) 0:00:14.124 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 10:05:24 +0000 (0:00:00.042) 0:00:14.167 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 10:05:24 +0000 (0:00:00.043) 0:00:14.210 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 10:05:24 +0000 (0:00:00.048) 0:00:14.259 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "1d1621b3-a457-4866-850e-1b55cca86701" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-10-04-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 10:05:24 +0000 (0:00:00.439) 0:00:14.698 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004005", "end": "2022-07-21 10:05:25.300882", "rc": 0, "start": "2022-07-21 10:05:25.296877" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=1d1621b3-a457-4866-850e-1b55cca86701 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 10:05:25 +0000 (0:00:00.444) 0:00:15.142 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.004011", "end": "2022-07-21 10:05:25.654630", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:05:25.650619" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 10:05:25 +0000 (0:00:00.353) 0:00:15.496 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 10:05:25 +0000 (0:00:00.022) 0:00:15.519 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=1d1621b3-a457-4866-850e-1b55cca86701', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 10:05:25 +0000 (0:00:00.058) 0:00:15.577 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 10:05:25 +0000 (0:00:00.113) 0:00:15.690 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 10:05:25 +0000 (0:00:00.082) 0:00:15.773 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 10:05:25 +0000 (0:00:00.039) 0:00:15.812 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "1d1621b3-a457-4866-850e-1b55cca86701" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "1d1621b3-a457-4866-850e-1b55cca86701" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 10:05:25 +0000 (0:00:00.054) 0:00:15.867 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 10:05:25 +0000 (0:00:00.055) 0:00:15.922 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.051) 0:00:15.973 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.053) 0:00:16.027 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.026) 0:00:16.053 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.024) 0:00:16.078 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.022) 0:00:16.100 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.034) 0:00:16.135 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=1d1621b3-a457-4866-850e-1b55cca86701 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.063) 0:00:16.199 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.050) 0:00:16.249 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.048) 0:00:16.298 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.039) 0:00:16.337 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.034) 0:00:16.371 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.038) 0:00:16.410 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.039) 0:00:16.449 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658397921.0320542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658397921.0320542, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1582, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658397921.0320542, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.352) 0:00:16.802 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.054) 0:00:16.856 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.046) 0:00:16.903 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 10:05:26 +0000 (0:00:00.039) 0:00:16.942 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.025) 0:00:16.967 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.038) 0:00:17.006 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.024) 0:00:17.030 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.559) 0:00:17.590 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.034) 0:00:17.624 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.036) 0:00:17.661 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.088) 0:00:17.749 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.025) 0:00:17.774 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.060) 0:00:17.834 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.025) 0:00:17.860 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.027) 0:00:17.888 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 10:05:27 +0000 (0:00:00.024) 0:00:17.913 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.051) 0:00:17.964 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.045) 0:00:18.010 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.033) 0:00:18.044 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.034) 0:00:18.078 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.039) 0:00:18.118 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.035) 0:00:18.153 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.036) 0:00:18.190 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.038) 0:00:18.228 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.041) 0:00:18.269 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.041) 0:00:18.311 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.037) 0:00:18.349 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.038) 0:00:18.387 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.040) 0:00:18.428 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.025) 0:00:18.454 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.037) 0:00:18.491 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.037) 0:00:18.529 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.038) 0:00:18.568 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.034) 0:00:18.603 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.038) 0:00:18.641 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.037) 0:00:18.678 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.040) 0:00:18.718 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.039) 0:00:18.758 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.038) 0:00:18.797 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.038) 0:00:18.835 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.026) 0:00:18.862 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.025) 0:00:18.887 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.024) 0:00:18.912 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 10:05:28 +0000 (0:00:00.024) 0:00:18.937 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.027) 0:00:18.965 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.024) 0:00:18.990 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.023) 0:00:19.013 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.022) 0:00:19.036 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.034) 0:00:19.071 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device mount location to "/opt/test2"] ******************* task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:37 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.033) 0:00:19.104 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.049) 0:00:19.153 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.035) 0:00:19.188 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.452) 0:00:19.641 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.091) 0:00:19.732 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.069) 0:00:19.802 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.033) 0:00:19.836 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.053) 0:00:19.890 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 10:05:29 +0000 (0:00:00.050) 0:00:19.940 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 10:05:30 +0000 (0:00:00.028) 0:00:19.969 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 10:05:30 +0000 (0:00:00.039) 0:00:20.008 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 10:05:30 +0000 (0:00:00.040) 0:00:20.049 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 10:05:30 +0000 (0:00:00.030) 0:00:20.079 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 10:05:30 +0000 (0:00:00.029) 0:00:20.109 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 10:05:30 +0000 (0:00:00.028) 0:00:20.137 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 10:05:30 +0000 (0:00:00.029) 0:00:20.166 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 10:05:30 +0000 (0:00:00.059) 0:00:20.226 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 10:05:30 +0000 (0:00:00.022) 0:00:20.248 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 10:05:31 +0000 (0:00:01.158) 0:00:21.407 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 10:05:31 +0000 (0:00:00.036) 0:00:21.443 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 10:05:31 +0000 (0:00:00.021) 0:00:21.464 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 10:05:31 +0000 (0:00:00.038) 0:00:21.503 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 10:05:31 +0000 (0:00:00.036) 0:00:21.539 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 10:05:31 +0000 (0:00:00.039) 0:00:21.579 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 10:05:31 +0000 (0:00:00.371) 0:00:21.950 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 10:05:32 +0000 (0:00:00.481) 0:00:22.431 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=1d1621b3-a457-4866-850e-1b55cca86701', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test2', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 10:05:32 +0000 (0:00:00.358) 0:00:22.789 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 10:05:33 +0000 (0:00:00.449) 0:00:23.239 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 10:05:33 +0000 (0:00:00.313) 0:00:23.552 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 10:05:33 +0000 (0:00:00.023) 0:00:23.576 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:47 Thursday 21 July 2022 10:05:35 +0000 (0:00:01.872) 0:00:25.448 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 10:05:35 +0000 (0:00:00.075) 0:00:25.524 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 10:05:35 +0000 (0:00:00.042) 0:00:25.567 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 10:05:35 +0000 (0:00:00.051) 0:00:25.618 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "1d1621b3-a457-4866-850e-1b55cca86701" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-10-04-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 10:05:35 +0000 (0:00:00.315) 0:00:25.934 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004248", "end": "2022-07-21 10:05:36.403479", "rc": 0, "start": "2022-07-21 10:05:36.399231" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=1d1621b3-a457-4866-850e-1b55cca86701 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 10:05:36 +0000 (0:00:00.312) 0:00:26.246 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003933", "end": "2022-07-21 10:05:36.723282", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:05:36.719349" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 10:05:36 +0000 (0:00:00.319) 0:00:26.565 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 10:05:36 +0000 (0:00:00.020) 0:00:26.586 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=1d1621b3-a457-4866-850e-1b55cca86701', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 10:05:36 +0000 (0:00:00.056) 0:00:26.643 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 10:05:36 +0000 (0:00:00.047) 0:00:26.690 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 10:05:36 +0000 (0:00:00.074) 0:00:26.765 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 10:05:36 +0000 (0:00:00.039) 0:00:26.805 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "1d1621b3-a457-4866-850e-1b55cca86701" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "1d1621b3-a457-4866-850e-1b55cca86701" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 10:05:36 +0000 (0:00:00.054) 0:00:26.860 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 10:05:36 +0000 (0:00:00.049) 0:00:26.909 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:05:36 +0000 (0:00:00.047) 0:00:26.956 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.049) 0:00:27.006 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.023) 0:00:27.030 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.025) 0:00:27.055 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.023) 0:00:27.078 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.034) 0:00:27.112 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=1d1621b3-a457-4866-850e-1b55cca86701 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.068) 0:00:27.181 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.055) 0:00:27.237 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.057) 0:00:27.295 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.040) 0:00:27.335 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.034) 0:00:27.370 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.086) 0:00:27.456 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.053) 0:00:27.510 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658397921.0320542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658397921.0320542, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1582, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658397921.0320542, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.326) 0:00:27.836 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 10:05:37 +0000 (0:00:00.073) 0:00:27.910 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.106) 0:00:28.016 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.037) 0:00:28.053 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.024) 0:00:28.077 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.041) 0:00:28.119 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.025) 0:00:28.144 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.546) 0:00:28.691 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.024) 0:00:28.716 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.022) 0:00:28.738 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.058) 0:00:28.797 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.024) 0:00:28.821 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.023) 0:00:28.844 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.023) 0:00:28.867 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.022) 0:00:28.890 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.023) 0:00:28.914 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 10:05:38 +0000 (0:00:00.048) 0:00:28.962 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.055) 0:00:29.018 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.040) 0:00:29.058 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.037) 0:00:29.095 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.038) 0:00:29.134 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.036) 0:00:29.170 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.037) 0:00:29.208 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.035) 0:00:29.244 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.035) 0:00:29.280 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.035) 0:00:29.315 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.037) 0:00:29.352 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.036) 0:00:29.389 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.038) 0:00:29.427 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.025) 0:00:29.453 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.037) 0:00:29.491 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.037) 0:00:29.528 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.036) 0:00:29.565 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.035) 0:00:29.601 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.036) 0:00:29.637 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.035) 0:00:29.673 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.035) 0:00:29.709 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.035) 0:00:29.744 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.092) 0:00:29.836 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.034) 0:00:29.870 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.022) 0:00:29.893 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.022) 0:00:29.915 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 10:05:39 +0000 (0:00:00.026) 0:00:29.941 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.035) 0:00:29.977 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.025) 0:00:30.002 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.023) 0:00:30.025 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.024) 0:00:30.050 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.025) 0:00:30.075 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.033) 0:00:30.108 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:49 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.037) 0:00:30.145 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.051) 0:00:30.197 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.036) 0:00:30.233 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.420) 0:00:30.654 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.062) 0:00:30.716 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.040) 0:00:30.757 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.036) 0:00:30.793 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.056) 0:00:30.849 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.020) 0:00:30.870 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.030) 0:00:30.900 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 10:05:40 +0000 (0:00:00.041) 0:00:30.941 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 10:05:41 +0000 (0:00:00.043) 0:00:30.984 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 10:05:41 +0000 (0:00:00.032) 0:00:31.016 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 10:05:41 +0000 (0:00:00.031) 0:00:31.047 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 10:05:41 +0000 (0:00:00.029) 0:00:31.077 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 10:05:41 +0000 (0:00:00.031) 0:00:31.108 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 10:05:41 +0000 (0:00:00.056) 0:00:31.164 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 10:05:41 +0000 (0:00:00.022) 0:00:31.187 ********* ok: [/cache/centos-7.qcow2c.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 10:05:42 +0000 (0:00:01.165) 0:00:32.352 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 10:05:42 +0000 (0:00:00.035) 0:00:32.388 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 10:05:42 +0000 (0:00:00.023) 0:00:32.411 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 10:05:42 +0000 (0:00:00.041) 0:00:32.453 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 10:05:42 +0000 (0:00:00.035) 0:00:32.488 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 10:05:42 +0000 (0:00:00.044) 0:00:32.533 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 10:05:42 +0000 (0:00:00.040) 0:00:32.574 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 10:05:43 +0000 (0:00:00.473) 0:00:33.047 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=1d1621b3-a457-4866-850e-1b55cca86701', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test2', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 10:05:43 +0000 (0:00:00.343) 0:00:33.390 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 10:05:43 +0000 (0:00:00.455) 0:00:33.846 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 10:05:44 +0000 (0:00:00.315) 0:00:34.161 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 10:05:44 +0000 (0:00:00.023) 0:00:34.185 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:59 Thursday 21 July 2022 10:05:45 +0000 (0:00:00.897) 0:00:35.083 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 10:05:45 +0000 (0:00:00.045) 0:00:35.128 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 10:05:45 +0000 (0:00:00.039) 0:00:35.168 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_kernel_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "_raw_kernel_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 10:05:45 +0000 (0:00:00.050) 0:00:35.218 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "xfs", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "1d1621b3-a457-4866-850e-1b55cca86701" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-10-04-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 10:05:45 +0000 (0:00:00.360) 0:00:35.579 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004024", "end": "2022-07-21 10:05:46.093606", "rc": 0, "start": "2022-07-21 10:05:46.089582" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 UUID=1d1621b3-a457-4866-850e-1b55cca86701 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 10:05:45 +0000 (0:00:00.356) 0:00:35.935 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003401", "end": "2022-07-21 10:05:46.408290", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:05:46.404889" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.312) 0:00:36.248 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.022) 0:00:36.270 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/nvme1n1', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=1d1621b3-a457-4866-850e-1b55cca86701', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/nvme1n1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.092) 0:00:36.362 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.049) 0:00:36.412 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.074) 0:00:36.486 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.041) 0:00:36.528 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "1d1621b3-a457-4866-850e-1b55cca86701" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2610632, "block_size": 4096, "block_total": 2618880, "block_used": 8248, "device": "/dev/nvme1n1", "fstype": "xfs", "inode_available": 5242877, "inode_total": 5242880, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 10693148672, "size_total": 10726932480, "uuid": "1d1621b3-a457-4866-850e-1b55cca86701" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.054) 0:00:36.583 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.054) 0:00:36.638 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.049) 0:00:36.688 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.049) 0:00:36.737 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.023) 0:00:36.761 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.021) 0:00:36.782 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.021) 0:00:36.804 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.031) 0:00:36.836 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=1d1621b3-a457-4866-850e-1b55cca86701 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.064) 0:00:36.900 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 10:05:46 +0000 (0:00:00.049) 0:00:36.950 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.049) 0:00:36.999 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.040) 0:00:37.040 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.033) 0:00:37.073 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.039) 0:00:37.113 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.040) 0:00:37.154 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658397921.0320542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658397921.0320542, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1582, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658397921.0320542, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.318) 0:00:37.472 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.039) 0:00:37.512 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.040) 0:00:37.552 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.039) 0:00:37.592 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.025) 0:00:37.617 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.038) 0:00:37.656 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 10:05:47 +0000 (0:00:00.023) 0:00:37.679 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.513) 0:00:38.192 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.022) 0:00:38.215 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.024) 0:00:38.239 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.079) 0:00:38.319 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.023) 0:00:38.343 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.024) 0:00:38.367 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.026) 0:00:38.394 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.053) 0:00:38.447 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.024) 0:00:38.472 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.052) 0:00:38.525 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.050) 0:00:38.575 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.035) 0:00:38.610 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.037) 0:00:38.647 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.037) 0:00:38.685 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.036) 0:00:38.721 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.037) 0:00:38.759 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.040) 0:00:38.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/test-verify-volume-md.yml:21 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.038) 0:00:38.837 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.039) 0:00:38.877 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.036) 0:00:38.913 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 10:05:48 +0000 (0:00:00.036) 0:00:38.949 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.037) 0:00:38.987 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.026) 0:00:39.013 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.036) 0:00:39.050 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.040) 0:00:39.090 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.038) 0:00:39.129 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.042) 0:00:39.171 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.038) 0:00:39.209 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.037) 0:00:39.247 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.036) 0:00:39.284 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.039) 0:00:39.323 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.035) 0:00:39.359 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.038) 0:00:39.397 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.024) 0:00:39.422 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.024) 0:00:39.446 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.023) 0:00:39.470 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.023) 0:00:39.493 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.024) 0:00:39.517 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.026) 0:00:39.543 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.024) 0:00:39.568 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.024) 0:00:39.592 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.043) 0:00:39.635 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:61 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.038) 0:00:39.674 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.060) 0:00:39.734 ********* included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 10:05:49 +0000 (0:00:00.035) 0:00:39.769 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.453) 0:00:40.222 ********* skipping: [/cache/centos-7.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.066) 0:00:40.288 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.037) 0:00:40.326 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.037) 0:00:40.364 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.057) 0:00:40.422 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.021) 0:00:40.444 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.030) 0:00:40.474 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.039) 0:00:40.513 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "mount_point": "/opt/test2", "name": "test1", "state": "absent", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.037) 0:00:40.551 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.029) 0:00:40.581 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.028) 0:00:40.609 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.033) 0:00:40.643 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.031) 0:00:40.675 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.061) 0:00:40.736 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 10:05:50 +0000 (0:00:00.025) 0:00:40.762 ********* changed: [/cache/centos-7.qcow2c.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 10:05:52 +0000 (0:00:01.479) 0:00:42.242 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 10:05:52 +0000 (0:00:00.036) 0:00:42.278 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 10:05:52 +0000 (0:00:00.022) 0:00:42.301 ********* ok: [/cache/centos-7.qcow2c.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 10:05:52 +0000 (0:00:00.040) 0:00:42.341 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 10:05:52 +0000 (0:00:00.044) 0:00:42.385 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 10:05:52 +0000 (0:00:00.044) 0:00:42.430 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-7.qcow2c.snap] => (item={'src': 'UUID=1d1621b3-a457-4866-850e-1b55cca86701', 'state': 'absent', 'path': '/opt/test2', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "UUID=1d1621b3-a457-4866-850e-1b55cca86701" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 10:05:52 +0000 (0:00:00.423) 0:00:42.854 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 10:05:53 +0000 (0:00:00.506) 0:00:43.360 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 10:05:53 +0000 (0:00:00.041) 0:00:43.402 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 10:05:53 +0000 (0:00:00.508) 0:00:43.911 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658387401.739742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1636891012.8990273, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1636890761.4177752, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071719764763", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 10:05:54 +0000 (0:00:00.318) 0:00:44.230 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 10:05:54 +0000 (0:00:00.022) 0:00:44.252 ********* ok: [/cache/centos-7.qcow2c.snap] META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:72 Thursday 21 July 2022 10:05:55 +0000 (0:00:00.857) 0:00:45.110 ********* included: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml for /cache/centos-7.qcow2c.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 10:05:55 +0000 (0:00:00.047) 0:00:45.158 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 10:05:55 +0000 (0:00:00.036) 0:00:45.195 ********* ok: [/cache/centos-7.qcow2c.snap] => { "_storage_volumes_list": [ { "_device": "/dev/nvme1n1", "_mount_id": "UUID=1d1621b3-a457-4866-850e-1b55cca86701", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 10:05:55 +0000 (0:00:00.049) 0:00:45.244 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-10-04-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "8G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "8G", "type": "partition", "uuid": "44a6a613-4e21-478b-a909-ab653c9d39df" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "2da05b4a-241b-41c7-8682-b45e897f20c8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "26263f70-8842-4a7d-8801-475e770ba4a8" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 10:05:55 +0000 (0:00:00.318) 0:00:45.562 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003696", "end": "2022-07-21 10:05:56.040253", "rc": 0, "start": "2022-07-21 10:05:56.036557" } STDOUT: # # /etc/fstab # Created by anaconda on Sun Nov 14 11:52:41 2021 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=44a6a613-4e21-478b-a909-ab653c9d39df / xfs defaults 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 10:05:55 +0000 (0:00:00.317) 0:00:45.880 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003342", "end": "2022-07-21 10:05:56.352032", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:05:56.348690" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.313) 0:00:46.193 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.020) 0:00:46.214 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml for /cache/centos-7.qcow2c.snap => (item={'_raw_device': '/dev/nvme1n1', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'xfs', 'mount_options': 'defaults', '_device': '/dev/nvme1n1', 'size': 10737418240, 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'absent', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=1d1621b3-a457-4866-850e-1b55cca86701', 'raid_spare_count': None, 'name': 'test1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['nvme1n1'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.058) 0:00:46.272 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.109) 0:00:46.382 ********* included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml for /cache/centos-7.qcow2c.snap => (item=mount) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml for /cache/centos-7.qcow2c.snap => (item=fstab) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml for /cache/centos-7.qcow2c.snap => (item=fs) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml for /cache/centos-7.qcow2c.snap => (item=device) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml for /cache/centos-7.qcow2c.snap => (item=encryption) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml for /cache/centos-7.qcow2c.snap => (item=md) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml for /cache/centos-7.qcow2c.snap => (item=size) included: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml for /cache/centos-7.qcow2c.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.070) 0:00:46.453 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme1n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.039) 0:00:46.492 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.052) 0:00:46.545 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.025) 0:00:46.570 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.049) 0:00:46.620 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.034) 0:00:46.654 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.025) 0:00:46.679 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.023) 0:00:46.703 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.025) 0:00:46.728 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.031) 0:00:46.759 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.067) 0:00:46.827 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.023) 0:00:46.851 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.056) 0:00:46.908 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 10:05:56 +0000 (0:00:00.035) 0:00:46.943 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 10:05:57 +0000 (0:00:00.038) 0:00:46.981 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 10:05:57 +0000 (0:00:00.030) 0:00:47.012 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 10:05:57 +0000 (0:00:00.025) 0:00:47.037 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658397952.357054, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658397952.357054, "dev": 5, "device_type": 66305, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1582, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658397952.357054, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 10:05:57 +0000 (0:00:00.321) 0:00:47.359 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 10:05:57 +0000 (0:00:00.037) 0:00:47.397 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 10:05:57 +0000 (0:00:00.022) 0:00:47.419 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 10:05:57 +0000 (0:00:00.035) 0:00:47.454 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 10:05:57 +0000 (0:00:00.021) 0:00:47.475 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 10:05:57 +0000 (0:00:00.021) 0:00:47.497 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 10:05:57 +0000 (0:00:00.021) 0:00:47.518 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.538) 0:00:48.057 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.023) 0:00:48.080 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.021) 0:00:48.102 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.021) 0:00:48.124 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.024) 0:00:48.148 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.024) 0:00:48.172 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.021) 0:00:48.194 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.021) 0:00:48.216 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.025) 0:00:48.241 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.123) 0:00:48.365 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.048) 0:00:48.413 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.033) 0:00:48.447 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.041) 0:00:48.489 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.038) 0:00:48.527 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.036) 0:00:48.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/test-verify-volume-md.yml:13 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.036) 0:00:48.599 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.038) 0:00:48.638 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.034) 0:00:48.673 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.034) 0:00:48.707 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.039) 0:00:48.747 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.042) 0:00:48.790 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.036) 0:00:48.826 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.022) 0:00:48.849 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.048) 0:00:48.897 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 10:05:58 +0000 (0:00:00.040) 0:00:48.937 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.034) 0:00:48.971 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.034) 0:00:49.006 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.034) 0:00:49.041 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.040) 0:00:49.082 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.039) 0:00:49.121 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.035) 0:00:49.157 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.034) 0:00:49.192 ********* ok: [/cache/centos-7.qcow2c.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.039) 0:00:49.231 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.023) 0:00:49.255 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.025) 0:00:49.280 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.024) 0:00:49.305 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.023) 0:00:49.329 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.023) 0:00:49.352 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.026) 0:00:49.378 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.024) 0:00:49.402 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptuh8_vrz/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.023) 0:00:49.426 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptuh8_vrz/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.032) 0:00:49.459 ********* 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=259 changed=6 unreachable=0 failed=0 skipped=228 rescued=0 ignored=0 Thursday 21 July 2022 10:05:59 +0000 (0:00:00.044) 0:00:49.503 ********* =============================================================================== fedora.linux_system_roles.storage : Update facts ------------------------ 1.87s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.48s /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.37s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 1.21s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Gathering Facts --------------------------------------------------------- 1.19s /tmp/tmptuh8_vrz/tests/storage/tests_change_disk_mount.yml:2 ------------------ fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.17s /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.16s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 1.01s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : Update facts ------------------------ 0.90s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.89s /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.86s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.72s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 fedora.linux_system_roles.storage : get required packages --------------- 0.67s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 fedora.linux_system_roles.storage : make sure required packages are installed --- 0.58s /tmp/tmphvsi2pl0/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 0.56s /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 0.55s /tmp/tmptuh8_vrz/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 0.54s /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.52s /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 -----------