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/tmpdbh6f40u 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/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove_scsi_generated.yml:3 Thursday 21 July 2022 14:41:38 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove_scsi_generated.yml:7 Thursday 21 July 2022 14:41:39 +0000 (0:00:01.334) 0:00:01.346 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove.yml:2 Thursday 21 July 2022 14:41:39 +0000 (0:00:00.048) 0:00:01.395 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove.yml:10 Thursday 21 July 2022 14:41:40 +0000 (0:00:00.960) 0:00:02.356 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:41:40 +0000 (0:00:00.033) 0:00:02.390 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:41:40 +0000 (0:00:00.034) 0:00:02.424 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:41:41 +0000 (0:00:00.555) 0:00:02.980 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:41:41 +0000 (0:00:00.053) 0:00:03.034 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:41:41 +0000 (0:00:00.030) 0:00:03.064 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:41:41 +0000 (0:00:00.028) 0:00:03.093 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:41:41 +0000 (0:00:00.046) 0:00:03.139 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:41:41 +0000 (0:00:00.017) 0:00:03.157 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:41:43 +0000 (0:00:02.432) 0:00:05.590 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:41:43 +0000 (0:00:00.034) 0:00:05.624 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:41:43 +0000 (0:00:00.058) 0:00:05.683 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:41:44 +0000 (0:00:00.797) 0:00:06.480 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 14:41:44 +0000 (0:00:00.051) 0:00:06.531 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 14:41:44 +0000 (0:00:00.051) 0:00:06.582 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 14:41:44 +0000 (0:00:00.033) 0:00:06.616 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:41:44 +0000 (0:00:00.039) 0:00:06.656 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:41:46 +0000 (0:00:01.809) 0:00:08.466 ********* ok: [/cache/fedora-36.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-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "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-onfailure.service": { "name": "dracut-shutdown-onfailure.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" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-migrate.service": { "name": "rpmdb-migrate.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-boot-update.service": { "name": "systemd-boot-update.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-FAAC\\x2dBFC8.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:41:48 +0000 (0:00:02.159) 0:00:10.626 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:41:48 +0000 (0:00:00.055) 0:00:10.682 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:41:48 +0000 (0:00:00.021) 0:00:10.703 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:41:49 +0000 (0:00:00.591) 0:00:11.295 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:41:49 +0000 (0:00:00.037) 0:00:11.332 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:41:49 +0000 (0:00:00.021) 0:00:11.354 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:41:49 +0000 (0:00:00.037) 0:00:11.391 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:41:49 +0000 (0:00:00.034) 0:00:11.425 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:41:49 +0000 (0:00:00.042) 0:00:11.467 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:41:49 +0000 (0:00:00.041) 0:00:11.509 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:41:49 +0000 (0:00:00.026) 0:00:11.536 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:41:49 +0000 (0:00:00.036) 0:00:11.573 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:41:49 +0000 (0:00:00.031) 0:00:11.605 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:41:50 +0000 (0:00:00.603) 0:00:12.209 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:41:50 +0000 (0:00:00.022) 0:00:12.232 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove.yml:13 Thursday 21 July 2022 14:41:51 +0000 (0:00:01.017) 0:00:13.250 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove.yml:20 Thursday 21 July 2022 14:41:51 +0000 (0:00:00.083) 0:00:13.333 ********* included: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml for /cache/fedora-36.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:2 Thursday 21 July 2022 14:41:51 +0000 (0:00:00.035) 0:00:13.368 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:9 Thursday 21 July 2022 14:41:53 +0000 (0:00:01.539) 0:00:14.907 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/get_unused_disk.yml:14 Thursday 21 July 2022 14:41:53 +0000 (0:00:00.039) 0:00:14.946 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:19 Thursday 21 July 2022 14:41:53 +0000 (0:00:00.037) 0:00:14.984 ********* ok: [/cache/fedora-36.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a RAID0 device mounted on "/opt/test1"] *************************** task path: /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove.yml:24 Thursday 21 July 2022 14:41:53 +0000 (0:00:00.034) 0:00:15.018 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:41:53 +0000 (0:00:00.041) 0:00:15.060 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:41:53 +0000 (0:00:00.033) 0:00:15.093 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:41:53 +0000 (0:00:00.548) 0:00:15.642 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:41:53 +0000 (0:00:00.059) 0:00:15.701 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.031) 0:00:15.732 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.030) 0:00:15.763 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.044) 0:00:15.807 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.018) 0:00:15.826 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.029) 0:00:15.855 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.066) 0:00:15.922 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.039) 0:00:15.962 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.026) 0:00:15.988 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.027) 0:00:16.015 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.026) 0:00:16.042 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.032) 0:00:16.075 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.083) 0:00:16.158 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:41:54 +0000 (0:00:00.021) 0:00:16.180 ********* changed: [/cache/fedora-36.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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "state": "mounted" } ], "packages": [ "mdadm", "xfsprogs", "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:42:02 +0000 (0:00:08.459) 0:00:24.639 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:42:02 +0000 (0:00:00.037) 0:00:24.676 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:42:02 +0000 (0:00:00.049) 0:00:24.726 ********* ok: [/cache/fedora-36.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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "state": "mounted" } ], "packages": [ "mdadm", "xfsprogs", "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:42:03 +0000 (0:00:00.038) 0:00:24.765 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:42:03 +0000 (0:00:00.036) 0:00:24.802 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:42:03 +0000 (0:00:00.036) 0:00:24.838 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:42:03 +0000 (0:00:00.039) 0:00:24.878 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:42:04 +0000 (0:00:01.013) 0:00:25.891 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5', '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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:42:04 +0000 (0:00:00.763) 0:00:26.655 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:42:05 +0000 (0:00:00.769) 0:00:27.424 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:42:06 +0000 (0:00:00.401) 0:00:27.825 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:42:06 +0000 (0:00:00.023) 0:00:27.848 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove.yml:36 Thursday 21 July 2022 14:42:07 +0000 (0:00:01.002) 0:00:28.851 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:42:07 +0000 (0:00:00.041) 0:00:28.892 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:42:07 +0000 (0:00:00.040) 0:00:28.933 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "_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/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:42:07 +0000 (0:00:00.050) 0:00:28.983 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "b28f8105-8a98-4838-90a6-f1d33b5ad1c5" }, "/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": "23971322-b3df-8ff2-34ae-88b5d2197dc7" }, "/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": "23971322-b3df-8ff2-34ae-88b5d2197dc7" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-41-25-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:42:07 +0000 (0:00:00.555) 0:00:29.538 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003377", "end": "2022-07-21 14:42:08.117736", "rc": 0, "start": "2022-07-21 14:42:08.114359" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:42:08 +0000 (0:00:00.557) 0:00:30.095 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003669", "end": "2022-07-21 14:42:08.572337", "failed_when_result": false, "rc": 0, "start": "2022-07-21 14:42:08.568668" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:42:08 +0000 (0:00:00.515) 0:00:30.610 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:42:08 +0000 (0:00:00.023) 0:00:30.634 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:42:08 +0000 (0:00:00.059) 0:00:30.693 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.050) 0:00:30.744 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.077) 0:00:30.822 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.039) 0:00:30.862 ********* ok: [/cache/fedora-36.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": "b28f8105-8a98-4838-90a6-f1d33b5ad1c5" } ], "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": "b28f8105-8a98-4838-90a6-f1d33b5ad1c5" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.057) 0:00:30.919 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.048) 0:00:30.968 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.050) 0:00:31.019 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.051) 0:00:31.070 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.023) 0:00:31.093 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.024) 0:00:31.118 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.023) 0:00:31.142 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.038) 0:00:31.180 ********* ok: [/cache/fedora-36.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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5 " ], "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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.060) 0:00:31.241 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.050) 0:00:31.292 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.051) 0:00:31.343 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.038) 0:00:31.382 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.034) 0:00:31.417 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.041) 0:00:31.458 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:42:09 +0000 (0:00:00.041) 0:00:31.499 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658414524.6759348, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658414522.5989347, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 955, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658414522.5989347, "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/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:42:10 +0000 (0:00:00.425) 0:00:31.925 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:42:10 +0000 (0:00:00.037) 0:00:31.962 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:42:10 +0000 (0:00:00.039) 0:00:32.002 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:42:10 +0000 (0:00:00.037) 0:00:32.040 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:42:10 +0000 (0:00:00.039) 0:00:32.079 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:42:10 +0000 (0:00:00.039) 0:00:32.119 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:42:10 +0000 (0:00:00.025) 0:00:32.144 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:42:12 +0000 (0:00:01.847) 0:00:33.992 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.026) 0:00:34.018 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.024) 0:00:34.042 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.051) 0:00:34.094 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.024) 0:00:34.118 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.024) 0:00:34.143 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.024) 0:00:34.167 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.025) 0:00:34.192 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.023) 0:00:34.215 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.048) 0:00:34.264 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.048) 0:00:34.313 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.034) 0:00:34.347 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.033) 0:00:34.381 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.033) 0:00:34.414 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:42:12 +0000 (0:00:00.037) 0:00:34.452 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.009980", "end": "2022-07-21 14:42:12.918098", "rc": 0, "start": "2022-07-21 14:42:12.908118" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Thu Jul 21 14:41:57 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 : Thu Jul 21 14:41:57 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 : 23971322:b3df8ff2:34ae88b5:d2197dc7 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/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:42:13 +0000 (0:00:00.439) 0:00:34.891 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:42:13 +0000 (0:00:00.053) 0:00:34.945 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:42:13 +0000 (0:00:00.058) 0:00:35.004 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:42:13 +0000 (0:00:00.103) 0:00:35.107 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:42:13 +0000 (0:00:00.045) 0:00:35.153 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:42:13 +0000 (0:00:00.041) 0:00:35.195 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:42:13 +0000 (0:00:00.039) 0:00:35.234 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.549) 0:00:35.783 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.037) 0:00:35.821 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.039) 0:00:35.861 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.074) 0:00:35.935 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.038) 0:00:35.973 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.036) 0:00:36.010 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.040) 0:00:36.051 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.038) 0:00:36.089 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.037) 0:00:36.126 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.035) 0:00:36.162 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.036) 0:00:36.199 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.025) 0:00:36.225 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.025) 0:00:36.250 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.025) 0:00:36.275 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.026) 0:00:36.301 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.025) 0:00:36.327 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.023) 0:00:36.350 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.024) 0:00:36.375 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.025) 0:00:36.400 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.030) 0:00:36.431 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove.yml:38 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.032) 0:00:36.464 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.044) 0:00:36.509 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:42:14 +0000 (0:00:00.036) 0:00:36.545 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.562) 0:00:37.107 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.062) 0:00:37.170 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.036) 0:00:37.206 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.036) 0:00:37.243 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.048) 0:00:37.292 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.021) 0:00:37.313 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.028) 0:00:37.342 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.035) 0:00:37.378 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.037) 0:00:37.415 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.031) 0:00:37.446 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.029) 0:00:37.476 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.028) 0:00:37.504 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.065) 0:00:37.570 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.059) 0:00:37.629 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:42:15 +0000 (0:00:00.024) 0:00:37.654 ********* ok: [/cache/fedora-36.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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "state": "mounted" } ], "packages": [ "btrfs-progs", "mdadm", "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:42:18 +0000 (0:00:02.194) 0:00:39.849 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:42:18 +0000 (0:00:00.039) 0:00:39.888 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:42:18 +0000 (0:00:00.022) 0:00:39.911 ********* ok: [/cache/fedora-36.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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "state": "mounted" } ], "packages": [ "btrfs-progs", "mdadm", "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:42:18 +0000 (0:00:00.042) 0:00:39.953 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:42:18 +0000 (0:00:00.041) 0:00:39.995 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:42:18 +0000 (0:00:00.038) 0:00:40.033 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:42:18 +0000 (0:00:00.039) 0:00:40.072 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:42:19 +0000 (0:00:00.785) 0:00:40.858 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5', '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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:42:19 +0000 (0:00:00.448) 0:00:41.306 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:42:20 +0000 (0:00:00.786) 0:00:42.093 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:42:20 +0000 (0:00:00.424) 0:00:42.517 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:42:20 +0000 (0:00:00.022) 0:00:42.540 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove.yml:50 Thursday 21 July 2022 14:42:21 +0000 (0:00:01.043) 0:00:43.583 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:42:21 +0000 (0:00:00.042) 0:00:43.626 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:42:21 +0000 (0:00:00.064) 0:00:43.691 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "_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/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:42:22 +0000 (0:00:00.048) 0:00:43.740 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "b28f8105-8a98-4838-90a6-f1d33b5ad1c5" }, "/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": "23971322-b3df-8ff2-34ae-88b5d2197dc7" }, "/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": "23971322-b3df-8ff2-34ae-88b5d2197dc7" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-41-25-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:42:22 +0000 (0:00:00.432) 0:00:44.172 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003338", "end": "2022-07-21 14:42:22.623292", "rc": 0, "start": "2022-07-21 14:42:22.619954" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:42:22 +0000 (0:00:00.425) 0:00:44.597 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003275", "end": "2022-07-21 14:42:23.036843", "failed_when_result": false, "rc": 0, "start": "2022-07-21 14:42:23.033568" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.413) 0:00:45.010 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.021) 0:00:45.032 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.060) 0:00:45.092 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.050) 0:00:45.142 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.074) 0:00:45.217 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.040) 0:00:45.257 ********* ok: [/cache/fedora-36.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": "b28f8105-8a98-4838-90a6-f1d33b5ad1c5" } ], "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": "b28f8105-8a98-4838-90a6-f1d33b5ad1c5" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.057) 0:00:45.315 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.046) 0:00:45.361 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.045) 0:00:45.407 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.050) 0:00:45.457 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.024) 0:00:45.482 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.025) 0:00:45.507 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.023) 0:00:45.531 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.034) 0:00:45.565 ********* ok: [/cache/fedora-36.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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5 " ], "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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.062) 0:00:45.628 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:42:23 +0000 (0:00:00.078) 0:00:45.706 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.102) 0:00:45.809 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.035) 0:00:45.845 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.036) 0:00:45.881 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.042) 0:00:45.923 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.044) 0:00:45.967 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658414524.6759348, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658414522.5989347, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 955, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658414522.5989347, "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/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.424) 0:00:46.392 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.041) 0:00:46.433 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.038) 0:00:46.471 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.035) 0:00:46.507 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.038) 0:00:46.546 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.043) 0:00:46.589 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:42:24 +0000 (0:00:00.026) 0:00:46.616 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:42:26 +0000 (0:00:01.857) 0:00:48.474 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:42:26 +0000 (0:00:00.023) 0:00:48.498 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:42:26 +0000 (0:00:00.022) 0:00:48.521 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:42:26 +0000 (0:00:00.049) 0:00:48.570 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:42:26 +0000 (0:00:00.023) 0:00:48.593 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:42:26 +0000 (0:00:00.023) 0:00:48.616 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:42:26 +0000 (0:00:00.024) 0:00:48.641 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:42:26 +0000 (0:00:00.023) 0:00:48.664 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:42:26 +0000 (0:00:00.025) 0:00:48.690 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:42:27 +0000 (0:00:00.097) 0:00:48.788 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:42:27 +0000 (0:00:00.050) 0:00:48.839 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:42:27 +0000 (0:00:00.035) 0:00:48.875 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:42:27 +0000 (0:00:00.035) 0:00:48.910 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:42:27 +0000 (0:00:00.079) 0:00:48.990 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:42:27 +0000 (0:00:00.033) 0:00:49.024 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.009480", "end": "2022-07-21 14:42:27.488365", "rc": 0, "start": "2022-07-21 14:42:27.478885" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Thu Jul 21 14:41:57 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 : Thu Jul 21 14:41:57 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 : 23971322:b3df8ff2:34ae88b5:d2197dc7 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/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:42:27 +0000 (0:00:00.438) 0:00:49.462 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:42:27 +0000 (0:00:00.053) 0:00:49.516 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:42:27 +0000 (0:00:00.053) 0:00:49.569 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:42:27 +0000 (0:00:00.057) 0:00:49.626 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:42:27 +0000 (0:00:00.059) 0:00:49.686 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.055) 0:00:49.741 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.054) 0:00:49.796 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.419) 0:00:50.216 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.039) 0:00:50.255 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.037) 0:00:50.292 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.036) 0:00:50.329 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.035) 0:00:50.365 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.039) 0:00:50.404 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.038) 0:00:50.442 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.040) 0:00:50.483 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.039) 0:00:50.522 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.038) 0:00:50.561 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.038) 0:00:50.600 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.027) 0:00:50.627 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.024) 0:00:50.652 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.023) 0:00:50.676 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.025) 0:00:50.701 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:42:28 +0000 (0:00:00.026) 0:00:50.728 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:42:29 +0000 (0:00:00.025) 0:00:50.754 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:42:29 +0000 (0:00:00.023) 0:00:50.777 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:42:29 +0000 (0:00:00.022) 0:00:50.800 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:42:29 +0000 (0:00:00.034) 0:00:50.835 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the disk device created above] ************************************ task path: /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove.yml:52 Thursday 21 July 2022 14:42:29 +0000 (0:00:00.031) 0:00:50.866 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:42:29 +0000 (0:00:00.096) 0:00:50.963 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:42:29 +0000 (0:00:00.036) 0:00:50.999 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:42:29 +0000 (0:00:00.560) 0:00:51.560 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:42:29 +0000 (0:00:00.065) 0:00:51.625 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:42:29 +0000 (0:00:00.034) 0:00:51.660 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:42:29 +0000 (0:00:00.041) 0:00:51.701 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:42:30 +0000 (0:00:00.049) 0:00:51.750 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:42:30 +0000 (0:00:00.020) 0:00:51.771 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:42:30 +0000 (0:00:00.027) 0:00:51.799 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:42:30 +0000 (0:00:00.035) 0:00:51.834 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:42:30 +0000 (0:00:00.037) 0:00:51.872 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:42:30 +0000 (0:00:00.026) 0:00:51.899 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:42:30 +0000 (0:00:00.026) 0:00:51.926 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:42:30 +0000 (0:00:00.026) 0:00:51.952 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:42:30 +0000 (0:00:00.029) 0:00:51.982 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:42:30 +0000 (0:00:00.055) 0:00:52.037 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:42:30 +0000 (0:00:00.021) 0:00:52.058 ********* changed: [/cache/fedora-36.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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "btrfs-progs" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:42:33 +0000 (0:00:03.179) 0:00:55.238 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:42:33 +0000 (0:00:00.036) 0:00:55.275 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:42:33 +0000 (0:00:00.021) 0:00:55.296 ********* ok: [/cache/fedora-36.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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "btrfs-progs" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:42:33 +0000 (0:00:00.041) 0:00:55.338 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:42:33 +0000 (0:00:00.037) 0:00:55.376 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:42:33 +0000 (0:00:00.039) 0:00:55.416 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5', '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=b28f8105-8a98-4838-90a6-f1d33b5ad1c5", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=b28f8105-8a98-4838-90a6-f1d33b5ad1c5" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:42:34 +0000 (0:00:00.475) 0:00:55.891 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:42:34 +0000 (0:00:00.783) 0:00:56.674 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:42:35 +0000 (0:00:00.101) 0:00:56.776 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:42:35 +0000 (0:00:00.745) 0:00:57.522 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:42:36 +0000 (0:00:00.432) 0:00:57.954 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:42:36 +0000 (0:00:00.030) 0:00:57.984 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove.yml:65 Thursday 21 July 2022 14:42:37 +0000 (0:00:00.997) 0:00:58.982 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:42:37 +0000 (0:00:00.045) 0:00:59.027 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:42:37 +0000 (0:00:00.040) 0:00:59.068 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:42:37 +0000 (0:00:00.051) 0:00:59.119 ********* ok: [/cache/fedora-36.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-21-14-41-25-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:42:37 +0000 (0:00:00.412) 0:00:59.532 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004375", "end": "2022-07-21 14:42:38.963758", "rc": 0, "start": "2022-07-21 14:42:37.959383" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:42:39 +0000 (0:00:01.413) 0:01:00.946 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003283", "end": "2022-07-21 14:42:39.383962", "failed_when_result": false, "rc": 0, "start": "2022-07-21 14:42:39.380679" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:42:39 +0000 (0:00:00.415) 0:01:01.361 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:42:39 +0000 (0:00:00.023) 0:01:01.385 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:42:39 +0000 (0:00:00.066) 0:01:01.452 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:42:39 +0000 (0:00:00.108) 0:01:01.560 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:42:39 +0000 (0:00:00.112) 0:01:01.672 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:42:39 +0000 (0:00:00.042) 0:01:01.715 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.057) 0:01:01.773 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.025) 0:01:01.798 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.050) 0:01:01.849 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.038) 0:01:01.887 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.024) 0:01:01.912 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.025) 0:01:01.938 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.024) 0:01:01.962 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.037) 0:01:02.000 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.059) 0:01:02.059 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.024) 0:01:02.084 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.052) 0:01:02.136 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.040) 0:01:02.176 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.035) 0:01:02.212 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.025) 0:01:02.237 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.023) 0:01:02.260 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.408) 0:01:02.668 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:42:40 +0000 (0:00:00.040) 0:01:02.708 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:42:41 +0000 (0:00:00.024) 0:01:02.733 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:42:41 +0000 (0:00:00.037) 0:01:02.770 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:42:41 +0000 (0:00:00.035) 0:01:02.806 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:42:41 +0000 (0:00:00.024) 0:01:02.830 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:42:41 +0000 (0:00:00.021) 0:01:02.852 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:42:42 +0000 (0:00:01.809) 0:01:04.661 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:42:42 +0000 (0:00:00.026) 0:01:04.688 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:42:42 +0000 (0:00:00.026) 0:01:04.715 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.024) 0:01:04.739 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.024) 0:01:04.764 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.023) 0:01:04.787 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.023) 0:01:04.810 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.022) 0:01:04.833 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.024) 0:01:04.857 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.079) 0:01:04.937 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.053) 0:01:04.991 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.037) 0:01:05.028 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.040) 0:01:05.069 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.038) 0:01:05.107 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.037) 0:01:05.145 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.040) 0:01:05.185 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.045) 0:01:05.230 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.036) 0:01:05.267 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.037) 0:01:05.304 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.039) 0:01:05.343 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.041) 0:01:05.385 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.035) 0:01:05.421 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.023) 0:01:05.445 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.035) 0:01:05.480 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.038) 0:01:05.518 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.032) 0:01:05.551 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.034) 0:01:05.586 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.035) 0:01:05.621 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.038) 0:01:05.660 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:42:43 +0000 (0:00:00.035) 0:01:05.695 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.034) 0:01:05.730 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.035) 0:01:05.765 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.037) 0:01:05.802 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.023) 0:01:05.826 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.022) 0:01:05.849 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.022) 0:01:05.872 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.024) 0:01:05.896 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.023) 0:01:05.920 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.023) 0:01:05.943 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.023) 0:01:05.966 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.024) 0:01:05.991 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.032) 0:01:06.023 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=216 changed=4 unreachable=0 failed=0 skipped=161 rescued=0 ignored=0 Thursday 21 July 2022 14:42:44 +0000 (0:00:00.046) 0:01:06.069 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 8.46s /tmp/tmpmb3dyg70/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.18s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 2.43s /tmp/tmpmb3dyg70/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.19s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 2.16s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Ensure cryptsetup is present -------------------------------------------- 1.86s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.85s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 1.81s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 1.81s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- Find unused disks in the system ----------------------------------------- 1.54s /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:2 ---------------------------------- Read the /etc/fstab file for volume existence --------------------------- 1.41s /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 ----------------------------- Gathering Facts --------------------------------------------------------- 1.33s /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove_scsi_generated.yml:3 linux-system-roles.storage : Update facts ------------------------------- 1.04s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.02s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 1.01s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmpmb3dyg70/tests/tests_create_raid_volume_then_remove.yml:2 ------------- linux-system-roles.storage : get required packages ---------------------- 0.80s /tmp/tmpmb3dyg70/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.79s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpdbh6f40u 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/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove_scsi_generated.yml:3 Thursday 21 July 2022 18:38:18 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove_scsi_generated.yml:7 Thursday 21 July 2022 18:38:20 +0000 (0:00:01.451) 0:00:01.463 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove.yml:2 Thursday 21 July 2022 18:38:20 +0000 (0:00:00.050) 0:00:01.514 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove.yml:10 Thursday 21 July 2022 18:38:21 +0000 (0:00:00.986) 0:00:02.500 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 18:38:21 +0000 (0:00:00.038) 0:00:02.539 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 18:38:21 +0000 (0:00:00.033) 0:00:02.573 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 18:38:21 +0000 (0:00:00.589) 0:00:03.162 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 18:38:21 +0000 (0:00:00.058) 0:00:03.220 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 18:38:21 +0000 (0:00:00.032) 0:00:03.253 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 18:38:21 +0000 (0:00:00.033) 0:00:03.287 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 18:38:21 +0000 (0:00:00.056) 0:00:03.344 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 18:38:21 +0000 (0:00:00.020) 0:00:03.364 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 18:38:24 +0000 (0:00:02.729) 0:00:06.093 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 18:38:24 +0000 (0:00:00.086) 0:00:06.180 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 18:38:24 +0000 (0:00:00.035) 0:00:06.215 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 18:38:25 +0000 (0:00:00.788) 0:00:07.003 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 18:38:25 +0000 (0:00:00.069) 0:00:07.073 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 18:38:25 +0000 (0:00:00.043) 0:00:07.116 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 18:38:25 +0000 (0:00:00.035) 0:00:07.151 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 18:38:25 +0000 (0:00:00.042) 0:00:07.194 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 18:38:27 +0000 (0:00:01.827) 0:00:09.021 ********* ok: [/cache/fedora-36.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-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "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-onfailure.service": { "name": "dracut-shutdown-onfailure.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" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-migrate.service": { "name": "rpmdb-migrate.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-boot-update.service": { "name": "systemd-boot-update.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-FAAC\\x2dBFC8.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 18:38:29 +0000 (0:00:02.293) 0:00:11.315 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 18:38:29 +0000 (0:00:00.058) 0:00:11.373 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 18:38:29 +0000 (0:00:00.022) 0:00:11.395 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:38:30 +0000 (0:00:00.633) 0:00:12.028 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 18:38:30 +0000 (0:00:00.036) 0:00:12.065 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 18:38:30 +0000 (0:00:00.022) 0:00:12.088 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:38:30 +0000 (0:00:00.036) 0:00:12.124 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:38:30 +0000 (0:00:00.036) 0:00:12.161 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:38:30 +0000 (0:00:00.037) 0:00:12.199 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 18:38:30 +0000 (0:00:00.036) 0:00:12.235 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 18:38:30 +0000 (0:00:00.024) 0:00:12.259 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:38:30 +0000 (0:00:00.035) 0:00:12.294 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 18:38:30 +0000 (0:00:00.024) 0:00:12.319 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 18:38:31 +0000 (0:00:00.592) 0:00:12.912 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 18:38:31 +0000 (0:00:00.024) 0:00:12.937 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove.yml:13 Thursday 21 July 2022 18:38:32 +0000 (0:00:01.111) 0:00:14.048 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove.yml:20 Thursday 21 July 2022 18:38:32 +0000 (0:00:00.033) 0:00:14.082 ********* included: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml for /cache/fedora-36.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 18:38:32 +0000 (0:00:00.038) 0:00:14.121 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 18:38:33 +0000 (0:00:00.555) 0:00:14.676 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 18:38:33 +0000 (0:00:00.037) 0:00:14.713 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 18:38:33 +0000 (0:00:00.039) 0:00:14.753 ********* ok: [/cache/fedora-36.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a RAID0 device mounted on "/opt/test1"] *************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove.yml:24 Thursday 21 July 2022 18:38:33 +0000 (0:00:00.037) 0:00:14.790 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 18:38:33 +0000 (0:00:00.043) 0:00:14.834 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 18:38:33 +0000 (0:00:00.035) 0:00:14.870 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.560) 0:00:15.431 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.061) 0:00:15.492 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.038) 0:00:15.531 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.035) 0:00:15.567 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.059) 0:00:15.626 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.021) 0:00:15.648 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.028) 0:00:15.677 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.037) 0:00:15.715 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.041) 0:00:15.756 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.030) 0:00:15.787 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.030) 0:00:15.817 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.030) 0:00:15.847 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.031) 0:00:15.879 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.090) 0:00:15.969 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 18:38:34 +0000 (0:00:00.023) 0:00:15.992 ********* changed: [/cache/fedora-36.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=bf534544-c936-4859-a8a0-2ce96985cc71", "state": "mounted" } ], "packages": [ "mdadm", "btrfs-progs", "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=bf534544-c936-4859-a8a0-2ce96985cc71", "_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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:38:43 +0000 (0:00:08.766) 0:00:24.758 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 18:38:43 +0000 (0:00:00.036) 0:00:24.795 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 18:38:43 +0000 (0:00:00.023) 0:00:24.818 ********* ok: [/cache/fedora-36.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=bf534544-c936-4859-a8a0-2ce96985cc71", "state": "mounted" } ], "packages": [ "mdadm", "btrfs-progs", "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=bf534544-c936-4859-a8a0-2ce96985cc71", "_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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:38:43 +0000 (0:00:00.042) 0:00:24.860 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:38:43 +0000 (0:00:00.037) 0:00:24.898 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=bf534544-c936-4859-a8a0-2ce96985cc71", "_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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:38:43 +0000 (0:00:00.039) 0:00:24.937 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 18:38:43 +0000 (0:00:00.038) 0:00:24.975 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 18:38:44 +0000 (0:00:01.058) 0:00:26.033 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=bf534544-c936-4859-a8a0-2ce96985cc71', '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=bf534544-c936-4859-a8a0-2ce96985cc71", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=bf534544-c936-4859-a8a0-2ce96985cc71" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:38:45 +0000 (0:00:00.771) 0:00:26.805 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 18:38:46 +0000 (0:00:00.780) 0:00:27.586 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 18:38:46 +0000 (0:00:00.410) 0:00:27.996 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 18:38:46 +0000 (0:00:00.023) 0:00:28.019 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove.yml:36 Thursday 21 July 2022 18:38:47 +0000 (0:00:01.009) 0:00:29.029 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 18:38:47 +0000 (0:00:00.046) 0:00:29.076 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:38:47 +0000 (0:00:00.041) 0:00:29.117 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=bf534544-c936-4859-a8a0-2ce96985cc71", "_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/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:38:47 +0000 (0:00:00.086) 0:00:29.203 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "bf534544-c936-4859-a8a0-2ce96985cc71" }, "/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": "7e8deddd-482c-11d3-c51b-007cb905ed1f" }, "/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": "7e8deddd-482c-11d3-c51b-007cb905ed1f" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-18-38-05-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 18:38:48 +0000 (0:00:00.517) 0:00:29.720 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003453", "end": "2022-07-21 18:38:48.175193", "rc": 0, "start": "2022-07-21 18:38:48.171740" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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=bf534544-c936-4859-a8a0-2ce96985cc71 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 18:38:48 +0000 (0:00:00.510) 0:00:30.230 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003372", "end": "2022-07-21 18:38:48.594038", "failed_when_result": false, "rc": 0, "start": "2022-07-21 18:38:48.590666" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.419) 0:00:30.650 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.023) 0:00:30.673 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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=bf534544-c936-4859-a8a0-2ce96985cc71', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.062) 0:00:30.735 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.050) 0:00:30.786 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.084) 0:00:30.870 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.040) 0:00:30.911 ********* ok: [/cache/fedora-36.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": "bf534544-c936-4859-a8a0-2ce96985cc71" } ], "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": "bf534544-c936-4859-a8a0-2ce96985cc71" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.073) 0:00:30.985 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.052) 0:00:31.037 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.049) 0:00:31.087 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.053) 0:00:31.140 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.026) 0:00:31.167 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.025) 0:00:31.193 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.025) 0:00:31.218 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.068) 0:00:31.286 ********* ok: [/cache/fedora-36.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=bf534544-c936-4859-a8a0-2ce96985cc71 " ], "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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:38:49 +0000 (0:00:00.098) 0:00:31.385 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.051) 0:00:31.436 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.051) 0:00:31.487 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.040) 0:00:31.528 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.035) 0:00:31.564 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.041) 0:00:31.605 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.044) 0:00:31.650 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658428724.74458, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658428722.63958, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 947, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658428722.63958, "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/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.455) 0:00:32.105 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.040) 0:00:32.145 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.041) 0:00:32.186 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.037) 0:00:32.223 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.039) 0:00:32.262 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.040) 0:00:32.303 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 18:38:50 +0000 (0:00:00.026) 0:00:32.330 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:38:52 +0000 (0:00:02.005) 0:00:34.335 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 18:38:52 +0000 (0:00:00.026) 0:00:34.361 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 18:38:52 +0000 (0:00:00.024) 0:00:34.386 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.053) 0:00:34.439 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.026) 0:00:34.465 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.025) 0:00:34.490 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.025) 0:00:34.516 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.025) 0:00:34.541 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.026) 0:00:34.567 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.054) 0:00:34.622 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.109) 0:00:34.732 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.068) 0:00:34.800 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.038) 0:00:34.838 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.037) 0:00:34.876 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.037) 0:00:34.913 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.010550", "end": "2022-07-21 18:38:53.297643", "rc": 0, "start": "2022-07-21 18:38:53.287093" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Thu Jul 21 18:38:37 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 : Thu Jul 21 18:38:37 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 : 7e8deddd:482c11d3:c51b007c:b905ed1f 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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 18:38:53 +0000 (0:00:00.439) 0:00:35.353 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.055) 0:00:35.409 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.056) 0:00:35.465 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.055) 0:00:35.521 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.045) 0:00:35.566 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.041) 0:00:35.608 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.044) 0:00:35.652 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.545) 0:00:36.198 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.040) 0:00:36.239 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.040) 0:00:36.279 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.051) 0:00:36.330 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.038) 0:00:36.369 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 18:38:54 +0000 (0:00:00.038) 0:00:36.408 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.039) 0:00:36.447 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.040) 0:00:36.487 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.038) 0:00:36.526 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.040) 0:00:36.566 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.038) 0:00:36.605 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.026) 0:00:36.632 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.025) 0:00:36.657 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.025) 0:00:36.683 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.025) 0:00:36.709 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.027) 0:00:36.736 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.026) 0:00:36.762 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.026) 0:00:36.789 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.026) 0:00:36.815 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.107) 0:00:36.922 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove.yml:38 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.036) 0:00:36.959 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.049) 0:00:37.008 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 18:38:55 +0000 (0:00:00.039) 0:00:37.047 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.600) 0:00:37.647 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.065) 0:00:37.712 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.037) 0:00:37.750 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.038) 0:00:37.788 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.059) 0:00:37.848 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.023) 0:00:37.872 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.030) 0:00:37.903 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.049) 0:00:37.952 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.041) 0:00:37.993 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.031) 0:00:38.024 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.030) 0:00:38.055 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.036) 0:00:38.091 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.031) 0:00:38.122 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.060) 0:00:38.183 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 18:38:56 +0000 (0:00:00.023) 0:00:38.207 ********* ok: [/cache/fedora-36.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=bf534544-c936-4859-a8a0-2ce96985cc71", "state": "mounted" } ], "packages": [ "btrfs-progs", "mdadm", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=bf534544-c936-4859-a8a0-2ce96985cc71", "_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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:38:59 +0000 (0:00:02.308) 0:00:40.515 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 18:38:59 +0000 (0:00:00.038) 0:00:40.554 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 18:38:59 +0000 (0:00:00.024) 0:00:40.578 ********* ok: [/cache/fedora-36.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=bf534544-c936-4859-a8a0-2ce96985cc71", "state": "mounted" } ], "packages": [ "btrfs-progs", "mdadm", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=bf534544-c936-4859-a8a0-2ce96985cc71", "_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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:38:59 +0000 (0:00:00.073) 0:00:40.651 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:38:59 +0000 (0:00:00.038) 0:00:40.690 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=bf534544-c936-4859-a8a0-2ce96985cc71", "_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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:38:59 +0000 (0:00:00.041) 0:00:40.731 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 18:38:59 +0000 (0:00:00.043) 0:00:40.775 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 18:39:00 +0000 (0:00:00.798) 0:00:41.574 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=bf534544-c936-4859-a8a0-2ce96985cc71', '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=bf534544-c936-4859-a8a0-2ce96985cc71", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=bf534544-c936-4859-a8a0-2ce96985cc71" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:39:00 +0000 (0:00:00.441) 0:00:42.016 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 18:39:01 +0000 (0:00:00.788) 0:00:42.804 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 18:39:01 +0000 (0:00:00.424) 0:00:43.228 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 18:39:01 +0000 (0:00:00.024) 0:00:43.253 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove.yml:50 Thursday 21 July 2022 18:39:02 +0000 (0:00:00.999) 0:00:44.252 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 18:39:02 +0000 (0:00:00.046) 0:00:44.298 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:39:02 +0000 (0:00:00.038) 0:00:44.337 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/md/test1", "_kernel_device": "/dev/md127", "_mount_id": "UUID=bf534544-c936-4859-a8a0-2ce96985cc71", "_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/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:39:03 +0000 (0:00:00.102) 0:00:44.439 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/md/test1": { "fstype": "xfs", "label": "", "name": "/dev/md/test1", "size": "20G", "type": "raid0", "uuid": "bf534544-c936-4859-a8a0-2ce96985cc71" }, "/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": "7e8deddd-482c-11d3-c51b-007cb905ed1f" }, "/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": "7e8deddd-482c-11d3-c51b-007cb905ed1f" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-18-38-05-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 18:39:03 +0000 (0:00:00.437) 0:00:44.877 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003536", "end": "2022-07-21 18:39:03.302098", "rc": 0, "start": "2022-07-21 18:39:03.298562" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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=bf534544-c936-4859-a8a0-2ce96985cc71 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 18:39:03 +0000 (0:00:00.497) 0:00:45.374 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003529", "end": "2022-07-21 18:39:03.732989", "failed_when_result": false, "rc": 0, "start": "2022-07-21 18:39:03.729460" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.416) 0:00:45.791 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.023) 0:00:45.814 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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=bf534544-c936-4859-a8a0-2ce96985cc71', '_kernel_device': '/dev/md127', '_raw_kernel_device': '/dev/md127'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.061) 0:00:45.876 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.050) 0:00:45.926 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.090) 0:00:46.017 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/md127" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.041) 0:00:46.059 ********* ok: [/cache/fedora-36.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": "bf534544-c936-4859-a8a0-2ce96985cc71" } ], "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": "bf534544-c936-4859-a8a0-2ce96985cc71" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.058) 0:00:46.118 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.055) 0:00:46.174 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.054) 0:00:46.228 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.051) 0:00:46.280 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.025) 0:00:46.305 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.025) 0:00:46.331 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.025) 0:00:46.357 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:39:04 +0000 (0:00:00.036) 0:00:46.393 ********* ok: [/cache/fedora-36.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=bf534544-c936-4859-a8a0-2ce96985cc71 " ], "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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:39:05 +0000 (0:00:00.062) 0:00:46.456 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 18:39:05 +0000 (0:00:00.052) 0:00:46.508 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:39:05 +0000 (0:00:00.052) 0:00:46.561 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 18:39:05 +0000 (0:00:00.038) 0:00:46.600 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 18:39:05 +0000 (0:00:00.038) 0:00:46.639 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:39:05 +0000 (0:00:00.039) 0:00:46.678 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:39:05 +0000 (0:00:00.042) 0:00:46.721 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658428724.74458, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658428722.63958, "dev": 5, "device_type": 2431, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 947, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658428722.63958, "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/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:39:05 +0000 (0:00:00.436) 0:00:47.157 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:39:05 +0000 (0:00:00.072) 0:00:47.230 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 18:39:05 +0000 (0:00:00.071) 0:00:47.302 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:39:05 +0000 (0:00:00.070) 0:00:47.372 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 18:39:06 +0000 (0:00:00.037) 0:00:47.409 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:39:06 +0000 (0:00:00.039) 0:00:47.449 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 18:39:06 +0000 (0:00:00.026) 0:00:47.475 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:39:08 +0000 (0:00:02.009) 0:00:49.484 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.024) 0:00:49.509 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.028) 0:00:49.537 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.056) 0:00:49.594 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.025) 0:00:49.620 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.027) 0:00:49.647 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.025) 0:00:49.673 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.024) 0:00:49.698 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.024) 0:00:49.723 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.054) 0:00:49.777 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.051) 0:00:49.829 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.038) 0:00:49.867 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.039) 0:00:49.906 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.040) 0:00:49.947 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 18:39:08 +0000 (0:00:00.034) 0:00:49.981 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/test1" ], "delta": "0:00:00.009315", "end": "2022-07-21 18:39:08.364252", "rc": 0, "start": "2022-07-21 18:39:08.354937" } STDOUT: /dev/md/test1: Version : 1.2 Creation Time : Thu Jul 21 18:38:37 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 : Thu Jul 21 18:38:37 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 : 7e8deddd:482c11d3:c51b007c:b905ed1f 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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 18:39:09 +0000 (0:00:00.439) 0:00:50.421 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 18:39:09 +0000 (0:00:00.089) 0:00:50.510 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 18:39:09 +0000 (0:00:00.087) 0:00:50.598 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 18:39:09 +0000 (0:00:00.055) 0:00:50.654 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 18:39:09 +0000 (0:00:00.098) 0:00:50.752 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 18:39:09 +0000 (0:00:00.091) 0:00:50.843 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 18:39:09 +0000 (0:00:00.090) 0:00:50.934 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 21474836480, "changed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:39:09 +0000 (0:00:00.466) 0:00:51.400 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.038) 0:00:51.439 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.036) 0:00:51.475 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.036) 0:00:51.512 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.037) 0:00:51.549 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.037) 0:00:51.587 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.037) 0:00:51.624 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.037) 0:00:51.661 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.041) 0:00:51.703 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 21474836480, "changed": false, "failed": false, "lvm": "20g", "parted": "20GiB", "size": "20 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.038) 0:00:51.742 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.039) 0:00:51.781 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.026) 0:00:51.808 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.028) 0:00:51.836 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.026) 0:00:51.863 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.026) 0:00:51.889 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.026) 0:00:51.916 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.027) 0:00:51.943 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.026) 0:00:51.969 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.025) 0:00:51.995 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.038) 0:00:52.034 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the disk device created above] ************************************ task path: /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove.yml:52 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.039) 0:00:52.073 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.056) 0:00:52.130 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 18:39:10 +0000 (0:00:00.039) 0:00:52.169 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.570) 0:00:52.739 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.064) 0:00:52.804 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.037) 0:00:52.841 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.034) 0:00:52.876 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.057) 0:00:52.933 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.051) 0:00:52.984 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.029) 0:00:53.014 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.038) 0:00:53.052 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.042) 0:00:53.095 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.034) 0:00:53.129 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.029) 0:00:53.159 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.030) 0:00:53.189 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.031) 0:00:53.220 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.061) 0:00:53.282 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 18:39:11 +0000 (0:00:00.022) 0:00:53.304 ********* changed: [/cache/fedora-36.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=bf534544-c936-4859-a8a0-2ce96985cc71", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:39:15 +0000 (0:00:03.314) 0:00:56.619 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 18:39:15 +0000 (0:00:00.043) 0:00:56.662 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 18:39:15 +0000 (0:00:00.023) 0:00:56.685 ********* ok: [/cache/fedora-36.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=bf534544-c936-4859-a8a0-2ce96985cc71", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:39:15 +0000 (0:00:00.039) 0:00:56.724 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:39:15 +0000 (0:00:00.037) 0:00:56.762 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:39:15 +0000 (0:00:00.039) 0:00:56.801 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=bf534544-c936-4859-a8a0-2ce96985cc71', '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=bf534544-c936-4859-a8a0-2ce96985cc71", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=bf534544-c936-4859-a8a0-2ce96985cc71" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 18:39:15 +0000 (0:00:00.442) 0:00:57.244 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 18:39:16 +0000 (0:00:00.769) 0:00:58.013 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:39:16 +0000 (0:00:00.039) 0:00:58.052 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 18:39:17 +0000 (0:00:00.774) 0:00:58.827 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 18:39:17 +0000 (0:00:00.408) 0:00:59.236 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 18:39:17 +0000 (0:00:00.023) 0:00:59.260 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove.yml:65 Thursday 21 July 2022 18:39:18 +0000 (0:00:01.062) 0:01:00.323 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 18:39:19 +0000 (0:00:00.087) 0:01:00.410 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:39:19 +0000 (0:00:00.037) 0:01:00.448 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:39:19 +0000 (0:00:00.052) 0:01:00.501 ********* ok: [/cache/fedora-36.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-21-18-38-05-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 18:39:19 +0000 (0:00:00.463) 0:01:00.964 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003833", "end": "2022-07-21 18:39:19.366089", "rc": 0, "start": "2022-07-21 18:39:19.362256" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.464) 0:01:01.429 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003436", "end": "2022-07-21 18:39:19.794973", "failed_when_result": false, "rc": 0, "start": "2022-07-21 18:39:19.791537" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.425) 0:01:01.854 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.023) 0:01:01.877 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.062) 0:01:01.940 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.052) 0:01:01.992 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.078) 0:01:02.071 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.043) 0:01:02.114 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.059) 0:01:02.174 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.025) 0:01:02.199 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.052) 0:01:02.252 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.039) 0:01:02.291 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.025) 0:01:02.317 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.025) 0:01:02.342 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.026) 0:01:02.369 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:39:20 +0000 (0:00:00.036) 0:01:02.406 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.102) 0:01:02.508 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.025) 0:01:02.534 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.080) 0:01:02.615 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.039) 0:01:02.654 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.035) 0:01:02.690 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.025) 0:01:02.715 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.023) 0:01:02.739 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.416) 0:01:03.155 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.038) 0:01:03.194 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.024) 0:01:03.219 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.037) 0:01:03.257 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "raid0" }, "changed": false } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.039) 0:01:03.296 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.025) 0:01:03.322 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 18:39:21 +0000 (0:00:00.024) 0:01:03.347 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:39:23 +0000 (0:00:02.060) 0:01:05.407 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.024) 0:01:05.432 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.025) 0:01:05.458 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.025) 0:01:05.483 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.026) 0:01:05.509 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.025) 0:01:05.535 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.025) 0:01:05.560 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.023) 0:01:05.584 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.024) 0:01:05.609 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.093) 0:01:05.702 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.092) 0:01:05.794 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.042) 0:01:05.836 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.039) 0:01:05.875 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.037) 0:01:05.913 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.110) 0:01:06.024 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.038) 0:01:06.063 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.037) 0:01:06.100 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.037) 0:01:06.138 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.038) 0:01:06.176 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.037) 0:01:06.213 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.037) 0:01:06.251 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.037) 0:01:06.288 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.026) 0:01:06.315 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.043) 0:01:06.358 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:39:24 +0000 (0:00:00.037) 0:01:06.396 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.038) 0:01:06.435 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.047) 0:01:06.483 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.038) 0:01:06.522 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.038) 0:01:06.560 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.040) 0:01:06.600 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.039) 0:01:06.639 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.039) 0:01:06.678 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.040) 0:01:06.719 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.023) 0:01:06.743 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.025) 0:01:06.768 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.025) 0:01:06.793 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.025) 0:01:06.819 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.023) 0:01:06.843 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.027) 0:01:06.870 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.024) 0:01:06.895 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.027) 0:01:06.922 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.038) 0:01:06.961 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=216 changed=4 unreachable=0 failed=0 skipped=161 rescued=0 ignored=0 Thursday 21 July 2022 18:39:25 +0000 (0:00:00.054) 0:01:07.015 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 8.77s /tmp/tmpdbh6f40u/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.31s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 2.73s /tmp/tmpdbh6f40u/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.31s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 2.29s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Ensure cryptsetup is present -------------------------------------------- 2.06s /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.01s /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.01s /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 1.83s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Gathering Facts --------------------------------------------------------- 1.45s /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove_scsi_generated.yml:3 fedora.linux_system_roles.storage : Update facts ------------------------ 1.11s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 1.06s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 1.06s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 fedora.linux_system_roles.storage : Update facts ------------------------ 1.01s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 1.00s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmppde4z2jm/tests/storage/tests_create_raid_volume_then_remove.yml:2 ----- fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.80s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 fedora.linux_system_roles.storage : get required packages --------------- 0.79s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.79s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.78s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148