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/tmpfdufgi2k executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_create_raid_volume_then_remove_scsi_generated.yml ************** 2 plays in /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove_scsi_generated.yml:3 Wednesday 06 July 2022 08:46:41 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove_scsi_generated.yml:7 Wednesday 06 July 2022 08:46:42 +0000 (0:00:01.361) 0:00:01.374 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove.yml:2 Wednesday 06 July 2022 08:46:42 +0000 (0:00:00.049) 0:00:01.424 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove.yml:10 Wednesday 06 July 2022 08:46:43 +0000 (0:00:00.924) 0:00:02.348 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:46:43 +0000 (0:00:00.036) 0:00:02.384 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:46:43 +0000 (0:00:00.032) 0:00:02.416 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:46:44 +0000 (0:00:00.537) 0:00:02.953 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:46:44 +0000 (0:00:00.056) 0:00:03.010 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:46:44 +0000 (0:00:00.029) 0:00:03.040 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:46:44 +0000 (0:00:00.027) 0:00:03.067 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:46:44 +0000 (0:00:00.048) 0:00:03.115 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:46:44 +0000 (0:00:00.019) 0:00:03.134 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:46:47 +0000 (0:00:02.620) 0:00:05.754 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:46:47 +0000 (0:00:00.058) 0:00:05.813 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:46:47 +0000 (0:00:00.037) 0:00:05.851 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:46:48 +0000 (0:00:00.773) 0:00:06.625 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 08:46:48 +0000 (0:00:00.067) 0:00:06.693 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 08:46:48 +0000 (0:00:00.041) 0:00:06.734 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 08:46:48 +0000 (0:00:00.032) 0:00:06.767 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:46:48 +0000 (0:00:00.040) 0:00:06.807 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:46:50 +0000 (0:00:01.826) 0:00:08.634 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "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-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.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-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "disabled" }, "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-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:46:51 +0000 (0:00:01.941) 0:00:10.576 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.057) 0:00:10.634 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.022) 0:00:10.656 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.573) 0:00:11.230 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.038) 0:00:11.268 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.020) 0:00:11.289 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.034) 0:00:11.324 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.038) 0:00:11.362 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.033) 0:00:11.395 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.032) 0:00:11.427 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.021) 0:00:11.449 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.037) 0:00:11.486 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:46:52 +0000 (0:00:00.024) 0:00:11.511 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "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": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:46:53 +0000 (0:00:00.535) 0:00:12.047 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:46:53 +0000 (0:00:00.023) 0:00:12.070 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove.yml:13 Wednesday 06 July 2022 08:46:54 +0000 (0:00:00.947) 0:00:13.017 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove.yml:20 Wednesday 06 July 2022 08:46:54 +0000 (0:00:00.034) 0:00:13.052 ******** included: /tmp/tmprua6lrek/tests/get_unused_disk.yml for /cache/fedora-35.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:2 Wednesday 06 July 2022 08:46:54 +0000 (0:00:00.036) 0:00:13.088 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:9 Wednesday 06 July 2022 08:46:56 +0000 (0:00:01.558) 0:00:14.647 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:14 Wednesday 06 July 2022 08:46:56 +0000 (0:00:00.038) 0:00:14.685 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:19 Wednesday 06 July 2022 08:46:56 +0000 (0:00:00.040) 0:00:14.725 ******** ok: [/cache/fedora-35.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a RAID0 device mounted on "/opt/test1"] *************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove.yml:24 Wednesday 06 July 2022 08:46:56 +0000 (0:00:00.038) 0:00:14.763 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:46:56 +0000 (0:00:00.053) 0:00:14.817 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:46:56 +0000 (0:00:00.036) 0:00:14.853 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:46:56 +0000 (0:00:00.546) 0:00:15.399 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:46:56 +0000 (0:00:00.099) 0:00:15.498 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:46:56 +0000 (0:00:00.041) 0:00:15.540 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.069) 0:00:15.609 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.072) 0:00:15.681 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.021) 0:00:15.703 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.028) 0:00:15.732 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.038) 0:00:15.771 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda", "sdb" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "type": "raid" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.037) 0:00:15.808 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.029) 0:00:15.837 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.028) 0:00:15.866 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.029) 0:00:15.896 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.027) 0:00:15.923 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.057) 0:00:15.981 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:46:57 +0000 (0:00:00.022) 0:00:16.004 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/test1", "fs_type": null }, { "action": "create format", "device": "/dev/md/test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/md/test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "btrfs-progs", "dosfstools", "mdadm" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:47:05 +0000 (0:00:08.288) 0:00:24.292 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:47:05 +0000 (0:00:00.037) 0:00:24.329 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:47:05 +0000 (0:00:00.022) 0:00:24.352 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/test1", "fs_type": null }, { "action": "create format", "device": "/dev/md/test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/md/test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "btrfs-progs", "dosfstools", "mdadm" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:47:05 +0000 (0:00:00.040) 0:00:24.392 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:47:05 +0000 (0:00:00.039) 0:00:24.432 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:47:05 +0000 (0:00:00.036) 0:00:24.469 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:47:05 +0000 (0:00:00.038) 0:00:24.508 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:47:06 +0000 (0:00:01.034) 0:00:25.542 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': 'UUID=604001a8-43af-4728-9140-589c24e1d6dc', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:47:07 +0000 (0:00:00.727) 0:00:26.270 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:47:08 +0000 (0:00:00.755) 0:00:27.025 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "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": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:47:08 +0000 (0:00:00.403) 0:00:27.429 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:47:08 +0000 (0:00:00.023) 0:00:27.453 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove.yml:36 Wednesday 06 July 2022 08:47:09 +0000 (0:00:01.005) 0:00:28.458 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:47:09 +0000 (0:00:00.041) 0:00:28.500 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:47:09 +0000 (0:00:00.035) 0:00:28.535 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:47:09 +0000 (0:00:00.055) 0:00:28.591 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "604001a8-43af-4728-9140-589c24e1d6dc" }, "/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/sda1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "ab704505-8b29-7583-5a70-063d421bde87" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "ab704505-8b29-7583-5a70-063d421bde87" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-08-46-28-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:47:10 +0000 (0:00:00.535) 0:00:29.126 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003912", "end": "2022-07-06 08:47:10.516841", "rc": 0, "start": "2022-07-06 08:47:10.512929" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 UUID=604001a8-43af-4728-9140-589c24e1d6dc /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:47:11 +0000 (0:00:00.532) 0:00:29.658 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003119", "end": "2022-07-06 08:47:10.918216", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:47:10.915097" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:47:11 +0000 (0:00:00.401) 0:00:30.060 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:47:11 +0000 (0:00:00.025) 0:00:30.086 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:47:11 +0000 (0:00:00.033) 0:00:30.120 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 0, 'state': 'present', 'type': 'raid', 'disks': ['sda', 'sdb'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/md/test1', '_raw_device': '/dev/md/test1', '_mount_id': 'UUID=604001a8-43af-4728-9140-589c24e1d6dc', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:47:11 +0000 (0:00:00.059) 0:00:30.179 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:47:11 +0000 (0:00:00.050) 0:00:30.229 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:47:11 +0000 (0:00:00.081) 0:00:30.311 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:47:11 +0000 (0:00:00.100) 0:00:30.412 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "604001a8-43af-4728-9140-589c24e1d6dc" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "604001a8-43af-4728-9140-589c24e1d6dc" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:47:11 +0000 (0:00:00.054) 0:00:30.466 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:47:11 +0000 (0:00:00.050) 0:00:30.517 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:47:11 +0000 (0:00:00.049) 0:00:30.566 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.048) 0:00:30.615 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.023) 0:00:30.638 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.025) 0:00:30.664 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.026) 0:00:30.691 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.037) 0:00:30.729 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=604001a8-43af-4728-9140-589c24e1d6dc " ], "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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.061) 0:00:30.791 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.050) 0:00:30.841 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.047) 0:00:30.888 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.035) 0:00:30.924 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.034) 0:00:30.958 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.039) 0:00:30.998 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.045) 0:00:31.043 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657097227.1252077, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657097225.0802076, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 520, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657097225.0802076, "nlink": 1, "path": "/dev/md/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.406) 0:00:31.450 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.037) 0:00:31.488 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.039) 0:00:31.527 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.036) 0:00:31.563 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:47:12 +0000 (0:00:00.037) 0:00:31.601 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:47:13 +0000 (0:00:00.040) 0:00:31.641 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:47:13 +0000 (0:00:00.025) 0:00:31.666 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:47:15 +0000 (0:00:02.056) 0:00:33.723 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.023) 0:00:33.746 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.024) 0:00:33.771 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.050) 0:00:33.821 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.022) 0:00:33.844 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.022) 0:00:33.866 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.022) 0:00:33.889 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.023) 0:00:33.912 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.021) 0:00:33.934 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.125) 0:00:34.060 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.199) 0:00:34.259 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.062) 0:00:34.321 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.046) 0:00:34.368 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.041) 0:00:34.409 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:47:15 +0000 (0:00:00.034) 0:00:34.443 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.008358", "end": "2022-07-06 08:47:15.716831", "rc": 0, "start": "2022-07-06 08:47:15.708473" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Wed Jul 6 08:46:59 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 08:46:59 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : test1 UUID : ab704505:8b297583:5a70063d:421bde87 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:47:16 +0000 (0:00:00.413) 0:00:34.857 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:47:16 +0000 (0:00:00.057) 0:00:34.914 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:47:16 +0000 (0:00:00.055) 0:00:34.969 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:47:16 +0000 (0:00:00.067) 0:00:35.037 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:47:16 +0000 (0:00:00.046) 0:00:35.083 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:47:16 +0000 (0:00:00.041) 0:00:35.124 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:47:16 +0000 (0:00:00.041) 0:00:35.165 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.529) 0:00:35.694 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.037) 0:00:35.732 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.041) 0:00:35.773 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.034) 0:00:35.808 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.036) 0:00:35.845 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.038) 0:00:35.883 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.036) 0:00:35.920 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.037) 0:00:35.958 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.035) 0:00:35.993 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.039) 0:00:36.033 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.044) 0:00:36.078 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.026) 0:00:36.104 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.025) 0:00:36.129 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.024) 0:00:36.154 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.026) 0:00:36.181 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.024) 0:00:36.206 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.024) 0:00:36.230 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.024) 0:00:36.255 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.026) 0:00:36.282 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.070) 0:00:36.352 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove.yml:38 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.033) 0:00:36.386 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.044) 0:00:36.431 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:47:17 +0000 (0:00:00.033) 0:00:36.464 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.529) 0:00:36.994 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.063) 0:00:37.057 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.036) 0:00:37.094 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.032) 0:00:37.127 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.056) 0:00:37.183 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.022) 0:00:37.206 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.031) 0:00:37.238 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.040) 0:00:37.278 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda", "sdb" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "type": "raid" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.041) 0:00:37.319 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.028) 0:00:37.348 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.030) 0:00:37.378 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.028) 0:00:37.407 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.028) 0:00:37.436 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.056) 0:00:37.492 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:47:18 +0000 (0:00:00.021) 0:00:37.513 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/md/test1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "e2fsprogs", "dosfstools", "btrfs-progs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:47:21 +0000 (0:00:02.104) 0:00:39.618 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:47:21 +0000 (0:00:00.044) 0:00:39.662 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:47:21 +0000 (0:00:00.022) 0:00:39.685 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/md/test1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "e2fsprogs", "dosfstools", "btrfs-progs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:47:21 +0000 (0:00:00.088) 0:00:39.774 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:47:21 +0000 (0:00:00.075) 0:00:39.849 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:47:21 +0000 (0:00:00.080) 0:00:39.930 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:47:21 +0000 (0:00:00.037) 0:00:39.968 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:47:22 +0000 (0:00:00.773) 0:00:40.742 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-35.qcow2.snap] => (item={'src': 'UUID=604001a8-43af-4728-9140-589c24e1d6dc', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:47:22 +0000 (0:00:00.432) 0:00:41.174 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:47:23 +0000 (0:00:00.719) 0:00:41.894 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "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": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:47:23 +0000 (0:00:00.403) 0:00:42.297 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:47:23 +0000 (0:00:00.024) 0:00:42.322 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove.yml:50 Wednesday 06 July 2022 08:47:24 +0000 (0:00:00.956) 0:00:43.279 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:47:24 +0000 (0:00:00.045) 0:00:43.324 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:47:24 +0000 (0:00:00.039) 0:00:43.363 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:47:24 +0000 (0:00:00.096) 0:00:43.459 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "604001a8-43af-4728-9140-589c24e1d6dc" }, "/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/sda1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "ab704505-8b29-7583-5a70-063d421bde87" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "ab704505-8b29-7583-5a70-063d421bde87" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-08-46-28-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:47:25 +0000 (0:00:00.407) 0:00:43.867 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002968", "end": "2022-07-06 08:47:25.150446", "rc": 0, "start": "2022-07-06 08:47:25.147478" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 UUID=604001a8-43af-4728-9140-589c24e1d6dc /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:47:25 +0000 (0:00:00.423) 0:00:44.290 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003119", "end": "2022-07-06 08:47:25.545806", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:47:25.542687" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.396) 0:00:44.687 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.022) 0:00:44.709 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.035) 0:00:44.745 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 21453864960, 'state': 'present', 'type': 'raid', 'disks': ['sda', 'sdb'], 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': '512 KiB', 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/md/test1', '_raw_device': '/dev/md/test1', '_mount_id': 'UUID=604001a8-43af-4728-9140-589c24e1d6dc', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.066) 0:00:44.812 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.049) 0:00:44.861 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.075) 0:00:44.936 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.043) 0:00:44.980 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "604001a8-43af-4728-9140-589c24e1d6dc" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "604001a8-43af-4728-9140-589c24e1d6dc" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.057) 0:00:45.038 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.053) 0:00:45.092 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.060) 0:00:45.152 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.057) 0:00:45.209 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.025) 0:00:45.235 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.025) 0:00:45.260 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.025) 0:00:45.285 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.035) 0:00:45.321 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=604001a8-43af-4728-9140-589c24e1d6dc " ], "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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.063) 0:00:45.385 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.052) 0:00:45.437 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.051) 0:00:45.489 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.040) 0:00:45.530 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:47:26 +0000 (0:00:00.037) 0:00:45.567 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:47:27 +0000 (0:00:00.040) 0:00:45.608 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:47:27 +0000 (0:00:00.039) 0:00:45.648 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657097227.1252077, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657097225.0802076, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 520, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657097225.0802076, "nlink": 1, "path": "/dev/md/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:47:27 +0000 (0:00:00.410) 0:00:46.058 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:47:27 +0000 (0:00:00.101) 0:00:46.160 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:47:27 +0000 (0:00:00.039) 0:00:46.200 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:47:27 +0000 (0:00:00.038) 0:00:46.238 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:47:27 +0000 (0:00:00.043) 0:00:46.282 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:47:27 +0000 (0:00:00.041) 0:00:46.323 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:47:27 +0000 (0:00:00.026) 0:00:46.349 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:47:29 +0000 (0:00:01.889) 0:00:48.238 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:47:29 +0000 (0:00:00.024) 0:00:48.263 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:47:29 +0000 (0:00:00.023) 0:00:48.286 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:47:29 +0000 (0:00:00.051) 0:00:48.338 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:47:29 +0000 (0:00:00.023) 0:00:48.361 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:47:29 +0000 (0:00:00.030) 0:00:48.392 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:47:29 +0000 (0:00:00.025) 0:00:48.418 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:47:29 +0000 (0:00:00.026) 0:00:48.444 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:47:29 +0000 (0:00:00.024) 0:00:48.469 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:47:29 +0000 (0:00:00.053) 0:00:48.522 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:47:29 +0000 (0:00:00.049) 0:00:48.572 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:47:30 +0000 (0:00:00.037) 0:00:48.609 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:47:30 +0000 (0:00:00.041) 0:00:48.650 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:47:30 +0000 (0:00:00.037) 0:00:48.687 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:47:30 +0000 (0:00:00.034) 0:00:48.722 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.009716", "end": "2022-07-06 08:47:30.011998", "rc": 0, "start": "2022-07-06 08:47:30.002282" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Wed Jul 6 08:46:59 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 08:46:59 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : test1 UUID : ab704505:8b297583:5a70063d:421bde87 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:47:30 +0000 (0:00:00.433) 0:00:49.155 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:47:30 +0000 (0:00:00.090) 0:00:49.245 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:47:30 +0000 (0:00:00.055) 0:00:49.301 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:47:30 +0000 (0:00:00.055) 0:00:49.357 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:47:30 +0000 (0:00:00.089) 0:00:49.446 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:47:30 +0000 (0:00:00.057) 0:00:49.504 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:47:30 +0000 (0:00:00.096) 0:00:49.600 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.451) 0:00:50.052 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.041) 0:00:50.093 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.039) 0:00:50.133 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.037) 0:00:50.171 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.037) 0:00:50.208 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.040) 0:00:50.249 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.040) 0:00:50.289 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.040) 0:00:50.330 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.041) 0:00:50.371 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.038) 0:00:50.410 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.036) 0:00:50.447 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.026) 0:00:50.473 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.026) 0:00:50.499 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.029) 0:00:50.529 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.029) 0:00:50.558 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:47:31 +0000 (0:00:00.030) 0:00:50.588 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:47:32 +0000 (0:00:00.028) 0:00:50.616 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:47:32 +0000 (0:00:00.028) 0:00:50.645 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:47:32 +0000 (0:00:00.026) 0:00:50.671 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:47:32 +0000 (0:00:00.039) 0:00:50.711 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the disk device created above] ************************************ task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove.yml:52 Wednesday 06 July 2022 08:47:32 +0000 (0:00:00.042) 0:00:50.754 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:47:32 +0000 (0:00:00.058) 0:00:50.812 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:47:32 +0000 (0:00:00.039) 0:00:50.852 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:47:32 +0000 (0:00:00.580) 0:00:51.433 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:47:32 +0000 (0:00:00.065) 0:00:51.498 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:47:32 +0000 (0:00:00.036) 0:00:51.535 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:47:32 +0000 (0:00:00.036) 0:00:51.572 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:47:33 +0000 (0:00:00.047) 0:00:51.619 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:47:33 +0000 (0:00:00.021) 0:00:51.641 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:47:33 +0000 (0:00:00.096) 0:00:51.737 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:47:33 +0000 (0:00:00.040) 0:00:51.778 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda", "sdb" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "state": "absent", "type": "raid" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:47:33 +0000 (0:00:00.041) 0:00:51.819 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:47:33 +0000 (0:00:00.032) 0:00:51.851 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:47:33 +0000 (0:00:00.031) 0:00:51.883 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:47:33 +0000 (0:00:00.031) 0:00:51.914 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:47:33 +0000 (0:00:00.030) 0:00:51.944 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:47:33 +0000 (0:00:00.061) 0:00:52.005 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:47:33 +0000 (0:00:00.024) 0:00:52.030 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/md/test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/md/test1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:47:36 +0000 (0:00:03.297) 0:00:55.327 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:47:36 +0000 (0:00:00.039) 0:00:55.367 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:47:36 +0000 (0:00:00.023) 0:00:55.391 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/md/test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/md/test1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:47:36 +0000 (0:00:00.039) 0:00:55.430 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:47:36 +0000 (0:00:00.040) 0:00:55.470 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:47:36 +0000 (0:00:00.041) 0:00:55.512 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': 'UUID=604001a8-43af-4728-9140-589c24e1d6dc', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=604001a8-43af-4728-9140-589c24e1d6dc" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:47:37 +0000 (0:00:00.462) 0:00:55.975 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:47:38 +0000 (0:00:00.779) 0:00:56.754 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:47:38 +0000 (0:00:00.042) 0:00:56.797 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:47:38 +0000 (0:00:00.742) 0:00:57.539 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "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": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:47:39 +0000 (0:00:00.423) 0:00:57.963 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:47:39 +0000 (0:00:00.025) 0:00:57.988 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove.yml:65 Wednesday 06 July 2022 08:47:40 +0000 (0:00:00.996) 0:00:58.985 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:47:40 +0000 (0:00:00.076) 0:00:59.062 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:47:40 +0000 (0:00:00.038) 0:00:59.101 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:47:40 +0000 (0:00:00.051) 0:00:59.153 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-08-46-28-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:47:40 +0000 (0:00:00.412) 0:00:59.565 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003170", "end": "2022-07-06 08:47:40.829982", "rc": 0, "start": "2022-07-06 08:47:40.826812" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:47:41 +0000 (0:00:00.407) 0:00:59.972 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003690", "end": "2022-07-06 08:47:41.234699", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:47:41.231009" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:47:41 +0000 (0:00:00.406) 0:01:00.379 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:47:41 +0000 (0:00:00.023) 0:01:00.403 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:47:41 +0000 (0:00:00.036) 0:01:00.439 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 21453864960, 'state': 'absent', 'type': 'raid', 'disks': ['sda', 'sdb'], 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': '512 KiB', 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:47:41 +0000 (0:00:00.071) 0:01:00.511 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:47:41 +0000 (0:00:00.056) 0:01:00.567 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.081) 0:01:00.649 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.046) 0:01:00.695 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.064) 0:01:00.760 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.025) 0:01:00.785 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.055) 0:01:00.841 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.038) 0:01:00.880 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.024) 0:01:00.904 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.026) 0:01:00.930 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.026) 0:01:00.956 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.039) 0:01:00.996 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.072) 0:01:01.069 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.026) 0:01:01.096 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.100) 0:01:01.196 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.097) 0:01:01.294 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.037) 0:01:01.331 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.023) 0:01:01.355 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:47:42 +0000 (0:00:00.026) 0:01:01.381 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:47:43 +0000 (0:00:00.393) 0:01:01.774 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:47:43 +0000 (0:00:00.037) 0:01:01.812 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:47:43 +0000 (0:00:00.022) 0:01:01.834 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:47:43 +0000 (0:00:00.037) 0:01:01.872 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:47:43 +0000 (0:00:00.038) 0:01:01.911 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:47:43 +0000 (0:00:00.025) 0:01:01.937 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:47:43 +0000 (0:00:00.026) 0:01:01.963 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:47:45 +0000 (0:00:02.097) 0:01:04.060 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.027) 0:01:04.088 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.024) 0:01:04.112 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.024) 0:01:04.136 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.023) 0:01:04.160 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.025) 0:01:04.186 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.024) 0:01:04.211 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.026) 0:01:04.237 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.023) 0:01:04.261 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.051) 0:01:04.312 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.047) 0:01:04.360 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.035) 0:01:04.396 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.036) 0:01:04.433 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.034) 0:01:04.467 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.032) 0:01:04.500 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.034) 0:01:04.535 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:47:45 +0000 (0:00:00.036) 0:01:04.572 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.035) 0:01:04.607 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.037) 0:01:04.645 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.042) 0:01:04.687 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.046) 0:01:04.734 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.103) 0:01:04.837 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.024) 0:01:04.861 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.034) 0:01:04.896 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.041) 0:01:04.938 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.044) 0:01:04.982 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.036) 0:01:05.018 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.034) 0:01:05.053 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.039) 0:01:05.093 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.035) 0:01:05.128 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.034) 0:01:05.163 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.034) 0:01:05.198 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.035) 0:01:05.233 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.022) 0:01:05.256 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.021) 0:01:05.277 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.021) 0:01:05.299 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.022) 0:01:05.322 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.022) 0:01:05.345 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.026) 0:01:05.371 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.028) 0:01:05.400 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.030) 0:01:05.431 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.035) 0:01:05.466 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=219 changed=4 unreachable=0 failed=0 skipped=161 rescued=0 ignored=0 Wednesday 06 July 2022 08:47:46 +0000 (0:00:00.048) 0:01:05.515 ******** =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 8.29s /tmp/tmprua6lrek/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 --- 3.30s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 2.62s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.10s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 2.10s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 2.06s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : get service facts -------------------------- 1.94s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Ensure cryptsetup is present -------------------------------------------- 1.89s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 1.83s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Find unused disks in the system ----------------------------------------- 1.56s /tmp/tmprua6lrek/tests/get_unused_disk.yml:2 ---------------------------------- Gathering Facts --------------------------------------------------------- 1.36s /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove_scsi_generated.yml:3 linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 1.03s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : Update facts ------------------------------- 1.01s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.96s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.95s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmprua6lrek/tests/tests_create_raid_volume_then_remove.yml:2 ------------- linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.78s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : get required packages ---------------------- 0.77s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.77s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 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/tmpfdufgi2k executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_create_raid_volume_then_remove_scsi_generated.yml ************** 2 plays in /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove_scsi_generated.yml:3 Wednesday 06 July 2022 12:36:50 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove_scsi_generated.yml:7 Wednesday 06 July 2022 12:36:51 +0000 (0:00:01.301) 0:00:01.313 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove.yml:2 Wednesday 06 July 2022 12:36:51 +0000 (0:00:00.047) 0:00:01.361 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove.yml:10 Wednesday 06 July 2022 12:36:52 +0000 (0:00:00.927) 0:00:02.288 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:36:52 +0000 (0:00:00.037) 0:00:02.325 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:36:52 +0000 (0:00:00.030) 0:00:02.356 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:36:53 +0000 (0:00:00.525) 0:00:02.881 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:36:53 +0000 (0:00:00.054) 0:00:02.936 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:36:53 +0000 (0:00:00.029) 0:00:02.966 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:36:53 +0000 (0:00:00.029) 0:00:02.996 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:36:53 +0000 (0:00:00.056) 0:00:03.052 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:36:53 +0000 (0:00:00.019) 0:00:03.072 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:36:56 +0000 (0:00:02.577) 0:00:05.650 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:36:56 +0000 (0:00:00.067) 0:00:05.717 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:36:56 +0000 (0:00:00.039) 0:00:05.756 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:36:57 +0000 (0:00:00.790) 0:00:06.546 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 12:36:57 +0000 (0:00:00.045) 0:00:06.592 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 12:36:57 +0000 (0:00:00.045) 0:00:06.638 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 12:36:57 +0000 (0:00:00.037) 0:00:06.675 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:36:57 +0000 (0:00:00.045) 0:00:06.721 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:36:59 +0000 (0:00:01.926) 0:00:08.647 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "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-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.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-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "disabled" }, "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-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:37:01 +0000 (0:00:01.972) 0:00:10.619 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:37:01 +0000 (0:00:00.055) 0:00:10.674 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:37:01 +0000 (0:00:00.023) 0:00:10.698 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:37:01 +0000 (0:00:00.558) 0:00:11.257 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:37:01 +0000 (0:00:00.038) 0:00:11.295 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:37:01 +0000 (0:00:00.021) 0:00:11.316 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:37:01 +0000 (0:00:00.047) 0:00:11.364 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:37:01 +0000 (0:00:00.049) 0:00:11.413 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:37:01 +0000 (0:00:00.035) 0:00:11.449 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:37:01 +0000 (0:00:00.039) 0:00:11.488 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:37:01 +0000 (0:00:00.023) 0:00:11.512 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:37:02 +0000 (0:00:00.035) 0:00:11.547 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:37:02 +0000 (0:00:00.025) 0:00:11.572 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "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": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:37:02 +0000 (0:00:00.576) 0:00:12.148 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:37:02 +0000 (0:00:00.023) 0:00:12.172 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove.yml:13 Wednesday 06 July 2022 12:37:03 +0000 (0:00:00.987) 0:00:13.159 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove.yml:20 Wednesday 06 July 2022 12:37:03 +0000 (0:00:00.032) 0:00:13.192 ******** included: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml for /cache/fedora-35.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:2 Wednesday 06 July 2022 12:37:03 +0000 (0:00:00.035) 0:00:13.228 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:9 Wednesday 06 July 2022 12:37:04 +0000 (0:00:00.544) 0:00:13.772 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:14 Wednesday 06 July 2022 12:37:04 +0000 (0:00:00.039) 0:00:13.812 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:19 Wednesday 06 July 2022 12:37:04 +0000 (0:00:00.038) 0:00:13.850 ******** ok: [/cache/fedora-35.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a RAID0 device mounted on "/opt/test1"] *************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove.yml:24 Wednesday 06 July 2022 12:37:04 +0000 (0:00:00.034) 0:00:13.884 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:37:04 +0000 (0:00:00.042) 0:00:13.927 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:37:04 +0000 (0:00:00.034) 0:00:13.961 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:37:04 +0000 (0:00:00.547) 0:00:14.508 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.062) 0:00:14.571 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.035) 0:00:14.607 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.036) 0:00:14.644 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.057) 0:00:14.701 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.022) 0:00:14.724 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.029) 0:00:14.753 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.035) 0:00:14.789 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda", "sdb" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "type": "raid" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.037) 0:00:14.826 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.026) 0:00:14.853 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.029) 0:00:14.882 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.030) 0:00:14.912 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.029) 0:00:14.942 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.055) 0:00:14.998 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:37:05 +0000 (0:00:00.021) 0:00:15.019 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/test1", "fs_type": null }, { "action": "create format", "device": "/dev/md/test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/md/test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "mdadm", "btrfs-progs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:37:15 +0000 (0:00:10.191) 0:00:25.211 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:37:15 +0000 (0:00:00.039) 0:00:25.250 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:37:15 +0000 (0:00:00.023) 0:00:25.274 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/test1", "fs_type": null }, { "action": "create format", "device": "/dev/md/test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/md/test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "mdadm", "btrfs-progs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:37:15 +0000 (0:00:00.040) 0:00:25.314 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:37:15 +0000 (0:00:00.037) 0:00:25.351 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:37:15 +0000 (0:00:00.037) 0:00:25.389 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:37:15 +0000 (0:00:00.035) 0:00:25.424 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:37:16 +0000 (0:00:01.032) 0:00:26.456 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': 'UUID=178ba80b-a60a-4454-b263-33ff8489b841', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:37:17 +0000 (0:00:00.760) 0:00:27.216 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:37:18 +0000 (0:00:00.741) 0:00:27.958 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "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": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:37:18 +0000 (0:00:00.406) 0:00:28.364 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:37:18 +0000 (0:00:00.021) 0:00:28.386 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove.yml:36 Wednesday 06 July 2022 12:37:19 +0000 (0:00:00.968) 0:00:29.355 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:37:19 +0000 (0:00:00.046) 0:00:29.401 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:37:19 +0000 (0:00:00.086) 0:00:29.487 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:37:20 +0000 (0:00:00.049) 0:00:29.537 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "178ba80b-a60a-4454-b263-33ff8489b841" }, "/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/sda1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "55731b3c-8162-20ff-cada-1cf5abaf66c9" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "55731b3c-8162-20ff-cada-1cf5abaf66c9" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-12-36-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:37:20 +0000 (0:00:00.495) 0:00:30.032 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004721", "end": "2022-07-06 12:37:21.475178", "rc": 0, "start": "2022-07-06 12:37:20.470457" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 UUID=178ba80b-a60a-4454-b263-33ff8489b841 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:37:22 +0000 (0:00:01.505) 0:00:31.538 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004409", "end": "2022-07-06 12:37:22.896937", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:37:21.892528" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:37:23 +0000 (0:00:01.417) 0:00:32.955 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:37:23 +0000 (0:00:00.021) 0:00:32.976 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:37:23 +0000 (0:00:00.035) 0:00:33.012 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 0, 'state': 'present', 'type': 'raid', 'disks': ['sda', 'sdb'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/md/test1', '_raw_device': '/dev/md/test1', '_mount_id': 'UUID=178ba80b-a60a-4454-b263-33ff8489b841', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:37:23 +0000 (0:00:00.063) 0:00:33.075 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:37:23 +0000 (0:00:00.050) 0:00:33.125 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:37:23 +0000 (0:00:00.084) 0:00:33.209 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:37:23 +0000 (0:00:00.040) 0:00:33.250 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "178ba80b-a60a-4454-b263-33ff8489b841" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "178ba80b-a60a-4454-b263-33ff8489b841" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:37:23 +0000 (0:00:00.093) 0:00:33.344 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:37:23 +0000 (0:00:00.052) 0:00:33.397 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:37:23 +0000 (0:00:00.082) 0:00:33.479 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.079) 0:00:33.559 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.046) 0:00:33.605 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.023) 0:00:33.629 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.024) 0:00:33.653 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.033) 0:00:33.687 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=178ba80b-a60a-4454-b263-33ff8489b841 " ], "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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.060) 0:00:33.747 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.049) 0:00:33.797 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.051) 0:00:33.848 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.040) 0:00:33.889 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.032) 0:00:33.922 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.037) 0:00:33.960 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.040) 0:00:34.000 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657111037.1483872, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657111035.094387, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 520, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657111035.094387, "nlink": 1, "path": "/dev/md/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.405) 0:00:34.406 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.040) 0:00:34.446 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:37:24 +0000 (0:00:00.039) 0:00:34.486 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:37:25 +0000 (0:00:00.036) 0:00:34.522 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:37:25 +0000 (0:00:00.035) 0:00:34.558 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:37:25 +0000 (0:00:00.039) 0:00:34.597 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:37:25 +0000 (0:00:00.026) 0:00:34.624 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:37:27 +0000 (0:00:02.091) 0:00:36.716 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.026) 0:00:36.742 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.024) 0:00:36.766 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.082) 0:00:36.849 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.025) 0:00:36.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.026) 0:00:36.901 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.027) 0:00:36.928 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.026) 0:00:36.954 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.027) 0:00:36.982 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.051) 0:00:37.033 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.076) 0:00:37.109 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.035) 0:00:37.145 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.036) 0:00:37.181 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.035) 0:00:37.217 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:37:27 +0000 (0:00:00.066) 0:00:37.284 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.008361", "end": "2022-07-06 12:37:27.670379", "rc": 0, "start": "2022-07-06 12:37:27.662018" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Wed Jul 6 12:37:07 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 12:37:07 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : test1 UUID : 55731b3c:816220ff:cada1cf5:abaf66c9 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:37:28 +0000 (0:00:00.443) 0:00:37.727 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:37:28 +0000 (0:00:00.093) 0:00:37.820 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:37:28 +0000 (0:00:00.117) 0:00:37.938 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:37:28 +0000 (0:00:00.053) 0:00:37.991 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:37:28 +0000 (0:00:00.042) 0:00:38.033 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:37:28 +0000 (0:00:00.039) 0:00:38.072 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:37:28 +0000 (0:00:00.039) 0:00:38.112 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.495) 0:00:38.608 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.036) 0:00:38.645 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.035) 0:00:38.680 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.034) 0:00:38.714 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.036) 0:00:38.750 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.040) 0:00:38.791 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.039) 0:00:38.831 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.036) 0:00:38.867 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.035) 0:00:38.903 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.047) 0:00:38.950 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.034) 0:00:38.985 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.022) 0:00:39.007 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.022) 0:00:39.029 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.021) 0:00:39.051 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.021) 0:00:39.073 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.021) 0:00:39.094 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.022) 0:00:39.117 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.021) 0:00:39.139 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.021) 0:00:39.160 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.034) 0:00:39.195 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove.yml:38 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.038) 0:00:39.233 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.046) 0:00:39.280 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:37:29 +0000 (0:00:00.039) 0:00:39.320 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.581) 0:00:39.901 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.064) 0:00:39.966 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.037) 0:00:40.004 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.039) 0:00:40.043 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.058) 0:00:40.101 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.021) 0:00:40.123 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.033) 0:00:40.156 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.036) 0:00:40.193 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda", "sdb" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "type": "raid" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.040) 0:00:40.234 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.029) 0:00:40.263 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.035) 0:00:40.298 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.030) 0:00:40.328 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.031) 0:00:40.359 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.058) 0:00:40.418 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:37:30 +0000 (0:00:00.022) 0:00:40.440 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/md/test1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "btrfs-progs", "mdadm", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:37:33 +0000 (0:00:02.197) 0:00:42.637 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:37:33 +0000 (0:00:00.035) 0:00:42.673 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:37:33 +0000 (0:00:00.023) 0:00:42.696 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/md/test1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "btrfs-progs", "mdadm", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:37:33 +0000 (0:00:00.037) 0:00:42.734 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:37:33 +0000 (0:00:00.035) 0:00:42.769 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:37:33 +0000 (0:00:00.072) 0:00:42.842 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:37:33 +0000 (0:00:00.038) 0:00:42.881 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:37:34 +0000 (0:00:00.767) 0:00:43.648 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-35.qcow2.snap] => (item={'src': 'UUID=178ba80b-a60a-4454-b263-33ff8489b841', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:37:34 +0000 (0:00:00.443) 0:00:44.091 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:37:35 +0000 (0:00:00.743) 0:00:44.834 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "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": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:37:35 +0000 (0:00:00.401) 0:00:45.235 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:37:35 +0000 (0:00:00.022) 0:00:45.258 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove.yml:50 Wednesday 06 July 2022 12:37:36 +0000 (0:00:00.953) 0:00:46.212 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:37:36 +0000 (0:00:00.044) 0:00:46.256 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:37:36 +0000 (0:00:00.037) 0:00:46.293 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "_raw_device": "/dev/md/test1", "_raw_kernel_device": "/dev/md127", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:37:36 +0000 (0:00:00.056) 0:00:46.350 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "178ba80b-a60a-4454-b263-33ff8489b841" }, "/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/sda1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "55731b3c-8162-20ff-cada-1cf5abaf66c9" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "test1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "55731b3c-8162-20ff-cada-1cf5abaf66c9" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-12-36-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:37:37 +0000 (0:00:00.397) 0:00:46.748 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004006", "end": "2022-07-06 12:37:37.094969", "rc": 0, "start": "2022-07-06 12:37:37.090963" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 UUID=178ba80b-a60a-4454-b263-33ff8489b841 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:37:37 +0000 (0:00:00.405) 0:00:47.154 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003235", "end": "2022-07-06 12:37:37.561138", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:37:37.557903" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.465) 0:00:47.620 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.022) 0:00:47.642 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.098) 0:00:47.741 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 21453864960, 'state': 'present', 'type': 'raid', 'disks': ['sda', 'sdb'], 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': '512 KiB', 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/md/test1', '_raw_device': '/dev/md/test1', '_mount_id': 'UUID=178ba80b-a60a-4454-b263-33ff8489b841', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.088) 0:00:47.829 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.046) 0:00:47.876 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.074) 0:00:47.950 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.038) 0:00:47.989 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "178ba80b-a60a-4454-b263-33ff8489b841" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 5189226, "block_size": 4096, "block_total": 5234176, "block_used": 44950, "device": "/dev/md127", "fstype": "xfs", "inode_available": 10473469, "inode_total": 10473472, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 21255069696, "size_total": 21439184896, "uuid": "178ba80b-a60a-4454-b263-33ff8489b841" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.056) 0:00:48.045 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.048) 0:00:48.093 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.047) 0:00:48.140 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.049) 0:00:48.190 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.023) 0:00:48.213 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.023) 0:00:48.236 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.021) 0:00:48.258 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.032) 0:00:48.291 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=178ba80b-a60a-4454-b263-33ff8489b841 " ], "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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.058) 0:00:48.350 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.050) 0:00:48.400 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.046) 0:00:48.447 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:37:38 +0000 (0:00:00.036) 0:00:48.483 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:37:39 +0000 (0:00:00.040) 0:00:48.523 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:37:39 +0000 (0:00:00.037) 0:00:48.560 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:37:39 +0000 (0:00:00.038) 0:00:48.599 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657111037.1483872, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657111035.094387, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 520, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657111035.094387, "nlink": 1, "path": "/dev/md/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:37:39 +0000 (0:00:00.413) 0:00:49.012 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:37:39 +0000 (0:00:00.037) 0:00:49.049 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:37:39 +0000 (0:00:00.039) 0:00:49.089 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:37:39 +0000 (0:00:00.035) 0:00:49.125 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:37:39 +0000 (0:00:00.040) 0:00:49.166 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:37:39 +0000 (0:00:00.037) 0:00:49.203 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:37:39 +0000 (0:00:00.025) 0:00:49.228 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:37:41 +0000 (0:00:02.116) 0:00:51.344 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:37:41 +0000 (0:00:00.025) 0:00:51.370 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:37:41 +0000 (0:00:00.025) 0:00:51.396 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:37:41 +0000 (0:00:00.054) 0:00:51.450 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:37:41 +0000 (0:00:00.025) 0:00:51.475 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:37:41 +0000 (0:00:00.025) 0:00:51.501 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.024) 0:00:51.525 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.026) 0:00:51.552 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.026) 0:00:51.579 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.057) 0:00:51.636 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.055) 0:00:51.692 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.044) 0:00:51.736 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.039) 0:00:51.776 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.038) 0:00:51.815 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.038) 0:00:51.854 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.008978", "end": "2022-07-06 12:37:42.233765", "rc": 0, "start": "2022-07-06 12:37:42.224787" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Wed Jul 6 12:37:07 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 12:37:07 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : test1 UUID : 55731b3c:816220ff:cada1cf5:abaf66c9 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.437) 0:00:52.291 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.059) 0:00:52.350 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.055) 0:00:52.406 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:37:42 +0000 (0:00:00.056) 0:00:52.462 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.058) 0:00:52.521 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.057) 0:00:52.579 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.090) 0:00:52.669 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.426) 0:00:53.095 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.037) 0:00:53.133 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.035) 0:00:53.168 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.075) 0:00:53.244 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.046) 0:00:53.290 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.041) 0:00:53.331 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.043) 0:00:53.375 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.081) 0:00:53.456 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:37:43 +0000 (0:00:00.048) 0:00:53.505 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.097) 0:00:53.602 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.079) 0:00:53.681 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.024) 0:00:53.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.025) 0:00:53.731 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.024) 0:00:53.756 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.025) 0:00:53.781 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.026) 0:00:53.807 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.025) 0:00:53.833 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.029) 0:00:53.862 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.028) 0:00:53.890 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.040) 0:00:53.931 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the disk device created above] ************************************ task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove.yml:52 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.037) 0:00:53.969 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.057) 0:00:54.026 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:37:44 +0000 (0:00:00.038) 0:00:54.064 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.567) 0:00:54.632 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.065) 0:00:54.698 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.037) 0:00:54.736 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.038) 0:00:54.774 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.059) 0:00:54.833 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.022) 0:00:54.856 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.029) 0:00:54.886 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.036) 0:00:54.922 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda", "sdb" ], "mount_point": "/opt/test1", "name": "test1", "raid_level": "raid0", "state": "absent", "type": "raid" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.048) 0:00:54.971 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.036) 0:00:55.007 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.034) 0:00:55.042 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.030) 0:00:55.073 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.031) 0:00:55.104 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.063) 0:00:55.167 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:37:45 +0000 (0:00:00.026) 0:00:55.193 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/md/test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/md/test1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "state": "absent" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:37:48 +0000 (0:00:03.035) 0:00:58.229 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:37:48 +0000 (0:00:00.038) 0:00:58.268 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:37:48 +0000 (0:00:00.022) 0:00:58.290 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/md/test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/md/test1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "state": "absent" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:37:48 +0000 (0:00:00.042) 0:00:58.332 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:37:48 +0000 (0:00:00.042) 0:00:58.375 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:37:48 +0000 (0:00:00.039) 0:00:58.414 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': 'UUID=178ba80b-a60a-4454-b263-33ff8489b841', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=178ba80b-a60a-4454-b263-33ff8489b841" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:37:49 +0000 (0:00:00.419) 0:00:58.833 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:37:50 +0000 (0:00:00.733) 0:00:59.567 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:37:50 +0000 (0:00:00.042) 0:00:59.609 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:37:50 +0000 (0:00:00.775) 0:01:00.384 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "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": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:37:51 +0000 (0:00:00.415) 0:01:00.800 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:37:51 +0000 (0:00:00.025) 0:01:00.826 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove.yml:65 Wednesday 06 July 2022 12:37:52 +0000 (0:00:00.978) 0:01:01.805 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:37:52 +0000 (0:00:00.048) 0:01:01.853 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:37:52 +0000 (0:00:00.036) 0:01:01.889 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "", "_mount_id": "", "_raw_device": "", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "size": 21453864960, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "raid", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:37:52 +0000 (0:00:00.092) 0:01:01.982 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-12-36-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:37:52 +0000 (0:00:00.433) 0:01:02.415 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003149", "end": "2022-07-06 12:37:52.755520", "rc": 0, "start": "2022-07-06 12:37:52.752371" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:37:53 +0000 (0:00:00.397) 0:01:02.813 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004426", "end": "2022-07-06 12:37:54.129496", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:37:53.125070" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:37:54 +0000 (0:00:01.377) 0:01:04.190 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:37:54 +0000 (0:00:00.022) 0:01:04.214 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:37:54 +0000 (0:00:00.036) 0:01:04.250 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': 'raid0', 'size': 21453864960, 'state': 'absent', 'type': 'raid', 'disks': ['sda', 'sdb'], 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': '512 KiB', 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '', '_raw_device': '', '_mount_id': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:37:54 +0000 (0:00:00.064) 0:01:04.314 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:37:54 +0000 (0:00:00.051) 0:01:04.366 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:37:54 +0000 (0:00:00.090) 0:01:04.457 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:37:54 +0000 (0:00:00.046) 0:01:04.503 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.056) 0:01:04.560 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.027) 0:01:04.588 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.060) 0:01:04.649 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.039) 0:01:04.688 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.025) 0:01:04.713 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.025) 0:01:04.739 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.026) 0:01:04.765 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.044) 0:01:04.810 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.103) 0:01:04.913 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.026) 0:01:04.940 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.082) 0:01:05.022 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.038) 0:01:05.061 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.036) 0:01:05.098 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.026) 0:01:05.124 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:37:55 +0000 (0:00:00.024) 0:01:05.149 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:37:56 +0000 (0:00:00.392) 0:01:05.541 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:37:56 +0000 (0:00:00.038) 0:01:05.579 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:37:56 +0000 (0:00:00.024) 0:01:05.604 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:37:56 +0000 (0:00:00.036) 0:01:05.641 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:37:56 +0000 (0:00:00.038) 0:01:05.679 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:37:56 +0000 (0:00:00.022) 0:01:05.702 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:37:56 +0000 (0:00:00.024) 0:01:05.726 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:37:58 +0000 (0:00:02.074) 0:01:07.801 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.023) 0:01:07.824 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.024) 0:01:07.848 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.022) 0:01:07.870 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.023) 0:01:07.893 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.022) 0:01:07.916 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.025) 0:01:07.942 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.025) 0:01:07.967 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.027) 0:01:07.994 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.050) 0:01:08.045 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.077) 0:01:08.122 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.038) 0:01:08.161 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.033) 0:01:08.195 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.034) 0:01:08.229 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.061) 0:01:08.291 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.038) 0:01:08.329 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.037) 0:01:08.367 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.037) 0:01:08.404 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.035) 0:01:08.440 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:37:58 +0000 (0:00:00.066) 0:01:08.506 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.038) 0:01:08.545 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.036) 0:01:08.582 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.025) 0:01:08.608 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.066) 0:01:08.674 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.036) 0:01:08.710 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.034) 0:01:08.744 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.036) 0:01:08.780 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.035) 0:01:08.816 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.041) 0:01:08.858 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.039) 0:01:08.897 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.042) 0:01:08.940 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.041) 0:01:08.982 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.039) 0:01:09.021 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.023) 0:01:09.045 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.027) 0:01:09.072 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.025) 0:01:09.098 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.024) 0:01:09.122 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.025) 0:01:09.147 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.025) 0:01:09.172 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.024) 0:01:09.197 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.025) 0:01:09.223 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.034) 0:01:09.257 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=219 changed=4 unreachable=0 failed=0 skipped=161 rescued=0 ignored=0 Wednesday 06 July 2022 12:37:59 +0000 (0:00:00.054) 0:01:09.311 ******** =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state -- 10.19s /tmp/tmpfdufgi2k/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 --- 3.04s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 2.58s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.20s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 2.12s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.09s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.07s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : get service facts ------------------- 1.97s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : make sure required packages are installed --- 1.93s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Read the /etc/fstab file for volume existence --------------------------- 1.51s /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 --------------------- Read the /etc/crypttab file --------------------------------------------- 1.42s /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 --------------------- Read the /etc/crypttab file --------------------------------------------- 1.38s /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 --------------------- Gathering Facts --------------------------------------------------------- 1.30s /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove_scsi_generated.yml:3 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 1.03s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.98s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.95s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpus9dv81c/tests/storage/tests_create_raid_volume_then_remove.yml:2 ----- fedora.linux_system_roles.storage : get required packages --------------- 0.79s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23