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_disk_errors.yml ************************************************ 1 plays in /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:2 Thursday 21 July 2022 14:56:16 +0000 (0:00:00.014) 0:00:00.014 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:11 Thursday 21 July 2022 14:56:17 +0000 (0:00:01.332) 0:00:01.346 ********* 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:56:17 +0000 (0:00:00.035) 0:00:01.382 ********* 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:56:17 +0000 (0:00:00.029) 0:00:01.411 ********* 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:56:17 +0000 (0:00:00.556) 0:00:01.968 ********* 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:56:18 +0000 (0:00:00.054) 0:00:02.022 ********* 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:56:18 +0000 (0:00:00.029) 0:00:02.051 ********* 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:56:18 +0000 (0:00:00.028) 0:00:02.080 ********* 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:56:18 +0000 (0:00:00.044) 0:00:02.124 ********* 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:56:18 +0000 (0:00:00.017) 0:00:02.142 ********* 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:56:20 +0000 (0:00:02.378) 0:00:04.520 ********* 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:56:20 +0000 (0:00:00.034) 0:00:04.555 ********* 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:56:20 +0000 (0:00:00.033) 0:00:04.588 ********* 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:56:21 +0000 (0:00:00.767) 0:00:05.355 ********* 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:56:21 +0000 (0:00:00.042) 0:00:05.398 ********* 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:56:21 +0000 (0:00:00.041) 0:00:05.439 ********* 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:56:21 +0000 (0:00:00.036) 0:00:05.476 ********* 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:56:21 +0000 (0:00:00.041) 0:00:05.517 ********* 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:56:23 +0000 (0:00:01.860) 0:00:07.377 ********* 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:56:25 +0000 (0:00:02.252) 0:00:09.629 ********* 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:56:25 +0000 (0:00:00.055) 0:00:09.685 ********* 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:56:25 +0000 (0:00:00.021) 0:00:09.707 ********* 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:56:26 +0000 (0:00:00.580) 0:00:10.287 ********* 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:56:26 +0000 (0:00:00.034) 0:00:10.322 ********* 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:56:26 +0000 (0:00:00.020) 0:00:10.342 ********* 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:56:26 +0000 (0:00:00.034) 0:00:10.376 ********* 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:56:26 +0000 (0:00:00.032) 0:00:10.409 ********* 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:56:26 +0000 (0:00:00.035) 0:00:10.444 ********* 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:56:26 +0000 (0:00:00.034) 0:00:10.479 ********* 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:56:26 +0000 (0:00:00.024) 0:00:10.503 ********* 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:56:26 +0000 (0:00:00.032) 0:00:10.536 ********* 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:56:26 +0000 (0:00:00.022) 0:00:10.559 ********* 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:56:27 +0000 (0:00:00.536) 0:00:11.095 ********* 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:56:27 +0000 (0:00:00.023) 0:00:11.118 ********* 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_disk_errors.yml:14 Thursday 21 July 2022 14:56:28 +0000 (0:00:01.036) 0:00:12.155 ********* 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_disk_errors.yml:21 Thursday 21 July 2022 14:56:28 +0000 (0:00:00.064) 0:00:12.219 ********* 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:56:28 +0000 (0:00:00.067) 0:00:12.286 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:9 Thursday 21 July 2022 14:56:28 +0000 (0:00:00.531) 0:00:12.818 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "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:56:28 +0000 (0:00:00.039) 0:00:12.857 ********* 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:56:28 +0000 (0:00:00.039) 0:00:12.897 ********* ok: [/cache/fedora-36.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create a disk volume mounted at "/opt/test1"] **************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:28 Thursday 21 July 2022 14:56:28 +0000 (0:00:00.035) 0:00:12.933 ********* 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:56:28 +0000 (0:00:00.040) 0:00:12.973 ********* 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:56:29 +0000 (0:00:00.036) 0:00:13.010 ********* 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:56:29 +0000 (0:00:00.568) 0:00:13.578 ********* 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:56:29 +0000 (0:00:00.058) 0:00:13.637 ********* 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:56:29 +0000 (0:00:00.033) 0:00:13.670 ********* 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:56:29 +0000 (0:00:00.032) 0:00:13.703 ********* 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:56:29 +0000 (0:00:00.046) 0:00:13.749 ********* 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:56:29 +0000 (0:00:00.019) 0:00:13.769 ********* 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:56:29 +0000 (0:00:00.028) 0:00:13.797 ********* 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:56:29 +0000 (0:00:00.033) 0:00:13.831 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "/dev/surelyidonotexist" ], "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } 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:56:29 +0000 (0:00:00.039) 0:00:13.870 ********* 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:56:29 +0000 (0:00:00.033) 0:00:13.903 ********* 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:56:29 +0000 (0:00:00.030) 0:00:13.934 ********* 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:56:29 +0000 (0:00:00.029) 0:00:13.963 ********* 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:56:30 +0000 (0:00:00.029) 0:00:13.992 ********* 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:56:30 +0000 (0:00:00.056) 0:00:14.049 ********* 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:56:30 +0000 (0:00:00.024) 0:00:14.073 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: unable to resolve disk specified for volume 'test1' (['/dev/surelyidonotexist']) TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 14:56:32 +0000 (0:00:02.030) 0:00:16.103 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "unable to resolve disk specified for volume 'test1' (['/dev/surelyidonotexist'])", 'invocation': {'module_args': {'pools': [], 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': None, 'state': 'present', 'type': 'disk', 'disks': ['/dev/surelyidonotexist'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:56:32 +0000 (0:00:00.038) 0:00:16.142 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:43 Thursday 21 July 2022 14:56:32 +0000 (0:00:00.022) 0:00:16.165 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create two volumes w/ the same name] ****************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:62 Thursday 21 July 2022 14:56:32 +0000 (0:00:00.035) 0:00:16.201 ********* 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:56:32 +0000 (0:00:00.039) 0:00:16.241 ********* 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:56:32 +0000 (0:00:00.036) 0:00:16.277 ********* 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:56:32 +0000 (0:00:00.568) 0:00:16.846 ********* 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:56:32 +0000 (0:00:00.062) 0:00:16.908 ********* 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:56:32 +0000 (0:00:00.035) 0:00:16.944 ********* 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:56:33 +0000 (0:00:00.033) 0:00:16.978 ********* 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:56:33 +0000 (0:00:00.048) 0:00:17.026 ********* 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:56:33 +0000 (0:00:00.020) 0:00:17.046 ********* 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:56:33 +0000 (0:00:00.026) 0:00:17.073 ********* 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:56:33 +0000 (0:00:00.064) 0:00:17.137 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "name": "vol1", "type": "disk" }, { "disks": [ "sda" ], "name": "vol1", "type": "disk" } ] } 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:56:33 +0000 (0:00:00.037) 0:00:17.175 ********* 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:56:33 +0000 (0:00:00.027) 0:00:17.203 ********* 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:56:33 +0000 (0:00:00.030) 0:00:17.233 ********* 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:56:33 +0000 (0:00:00.029) 0:00:17.263 ********* 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:56:33 +0000 (0:00:00.057) 0:00:17.321 ********* 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:56:33 +0000 (0:00:00.058) 0:00:17.379 ********* 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:56:33 +0000 (0:00:00.023) 0:00:17.402 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: multiple volumes with the same name: vol1 TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 14:56:35 +0000 (0:00:01.787) 0:00:19.190 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': 'multiple volumes with the same name: vol1', 'invocation': {'module_args': {'pools': [], 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': None, 'name': 'vol1', 'raid_level': None, 'size': None, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None}, {'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': None, 'name': 'vol1', 'raid_level': None, 'size': None, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:56:35 +0000 (0:00:00.038) 0:00:19.229 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:79 Thursday 21 July 2022 14:56:35 +0000 (0:00:00.021) 0:00:19.250 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the duplicate volumes test] ************************* task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:85 Thursday 21 July 2022 14:56:35 +0000 (0:00:00.033) 0:00:19.284 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Create a file system on disk] ******************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:92 Thursday 21 July 2022 14:56:35 +0000 (0:00:00.034) 0:00:19.319 ********* 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:56:35 +0000 (0:00:00.037) 0:00:19.356 ********* 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:56:35 +0000 (0:00:00.034) 0:00:19.391 ********* 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:56:36 +0000 (0:00:00.620) 0:00:20.011 ********* 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:56:36 +0000 (0:00:00.063) 0:00:20.074 ********* 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:56:36 +0000 (0:00:00.033) 0:00:20.108 ********* 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:56:36 +0000 (0:00:00.035) 0:00:20.143 ********* 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:56:36 +0000 (0:00:00.047) 0:00:20.191 ********* 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:56:36 +0000 (0:00:00.021) 0:00:20.213 ********* 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:56:36 +0000 (0:00:00.029) 0:00:20.242 ********* 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:56:36 +0000 (0:00:00.042) 0:00:20.284 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } 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:56:36 +0000 (0:00:00.045) 0:00:20.330 ********* 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:56:36 +0000 (0:00:00.031) 0:00:20.362 ********* 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:56:36 +0000 (0:00:00.030) 0:00:20.393 ********* 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:56:36 +0000 (0:00:00.029) 0:00:20.422 ********* 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:56:36 +0000 (0:00:00.085) 0:00:20.508 ********* 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:56:36 +0000 (0:00:00.058) 0:00:20.566 ********* 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:56:36 +0000 (0:00:00.021) 0:00:20.588 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:56:38 +0000 (0:00:02.105) 0:00:22.693 ********* 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:56:38 +0000 (0:00:00.045) 0:00:22.739 ********* 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:56:38 +0000 (0:00:00.024) 0:00:22.764 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:56:38 +0000 (0:00:00.039) 0:00:22.804 ********* 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:56:38 +0000 (0:00:00.036) 0:00:22.840 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:56:38 +0000 (0:00:00.039) 0:00:22.880 ********* 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:56:38 +0000 (0:00:00.038) 0:00:22.919 ********* 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:56:40 +0000 (0:00:01.054) 0:00:23.974 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2', 'path': '/opt/test1', 'fstype': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2" } 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:56:40 +0000 (0:00:00.579) 0:00:24.553 ********* 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:56:41 +0000 (0:00:00.764) 0:00:25.318 ********* 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:56:41 +0000 (0:00:00.410) 0:00:25.728 ********* 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:56:41 +0000 (0:00:00.024) 0:00:25.752 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [create a file] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:103 Thursday 21 July 2022 14:56:42 +0000 (0:00:00.994) 0:00:26.747 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Try to replace the file system on disk in safe mode] ********************* task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:111 Thursday 21 July 2022 14:56:43 +0000 (0:00:00.569) 0:00:27.317 ********* 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:56:43 +0000 (0:00:00.038) 0:00:27.356 ********* 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:56:43 +0000 (0:00:00.037) 0:00:27.393 ********* 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:56:44 +0000 (0:00:00.598) 0:00:27.991 ********* 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:56:44 +0000 (0:00:00.062) 0:00:28.053 ********* 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:56:44 +0000 (0:00:00.034) 0:00:28.088 ********* 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:56:44 +0000 (0:00:00.033) 0:00:28.122 ********* 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:56:44 +0000 (0:00:00.045) 0:00:28.167 ********* 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:56:44 +0000 (0:00:00.023) 0:00:28.191 ********* 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:56:44 +0000 (0:00:00.029) 0:00:28.221 ********* 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:56:44 +0000 (0:00:00.036) 0:00:28.257 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "name": "test1", "type": "disk" } ] } 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:56:44 +0000 (0:00:00.037) 0:00:28.295 ********* 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:56:44 +0000 (0:00:00.027) 0:00:28.323 ********* 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:56:44 +0000 (0:00:00.028) 0:00:28.351 ********* 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:56:44 +0000 (0:00:00.029) 0:00:28.380 ********* 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:56:44 +0000 (0:00:00.029) 0:00:28.410 ********* 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:56:44 +0000 (0:00:00.062) 0:00:28.473 ********* 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:56:44 +0000 (0:00:00.023) 0:00:28.496 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting on volume 'test1' in safe mode TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 14:56:46 +0000 (0:00:01.892) 0:00:30.389 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting on volume 'test1' in safe mode", 'invocation': {'module_args': {'pools': [], 'volumes': [{'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': 'ext3', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], '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': []}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:56:46 +0000 (0:00:00.103) 0:00:30.492 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:126 Thursday 21 July 2022 14:56:46 +0000 (0:00:00.023) 0:00:30.516 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:132 Thursday 21 July 2022 14:56:46 +0000 (0:00:00.038) 0:00:30.555 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unmount file system] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:139 Thursday 21 July 2022 14:56:46 +0000 (0:00:00.050) 0:00:30.605 ********* 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:56:46 +0000 (0:00:00.038) 0:00:30.644 ********* 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:56:46 +0000 (0:00:00.033) 0:00:30.677 ********* 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:56:47 +0000 (0:00:00.583) 0:00:31.261 ********* 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:56:47 +0000 (0:00:00.062) 0:00:31.323 ********* 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:56:47 +0000 (0:00:00.035) 0:00:31.359 ********* 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:56:47 +0000 (0:00:00.035) 0:00:31.394 ********* 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:56:47 +0000 (0:00:00.049) 0:00:31.444 ********* 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:56:47 +0000 (0:00:00.019) 0:00:31.464 ********* 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:56:47 +0000 (0:00:00.028) 0:00:31.492 ********* 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:56:47 +0000 (0:00:00.035) 0:00:31.528 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext4", "mount_point": "none", "name": "test1", "type": "disk" } ] } 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:56:47 +0000 (0:00:00.037) 0:00:31.565 ********* 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:56:47 +0000 (0:00:00.026) 0:00:31.592 ********* 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:56:47 +0000 (0:00:00.028) 0:00:31.620 ********* 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:56:47 +0000 (0:00:00.031) 0:00:31.652 ********* 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:56:47 +0000 (0:00:00.029) 0:00:31.682 ********* 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:56:47 +0000 (0:00:00.059) 0:00:31.741 ********* 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:56:47 +0000 (0:00:00.022) 0:00:31.764 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "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": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:56:49 +0000 (0:00:01.911) 0:00:33.676 ********* 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:56:49 +0000 (0:00:00.037) 0:00:33.714 ********* 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:56:49 +0000 (0:00:00.022) 0:00:33.736 ********* 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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:56:49 +0000 (0:00:00.038) 0:00:33.775 ********* 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:56:49 +0000 (0:00:00.033) 0:00:33.809 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:56:49 +0000 (0:00:00.064) 0:00:33.874 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:56:50 +0000 (0:00:00.483) 0:00:34.357 ********* 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:56:51 +0000 (0:00:00.799) 0:00:35.157 ********* 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:56:51 +0000 (0:00:00.037) 0:00:35.194 ********* 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:56:51 +0000 (0:00:00.764) 0:00:35.959 ********* 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:56:52 +0000 (0:00:00.428) 0:00:36.387 ********* 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:56:52 +0000 (0:00:00.021) 0:00:36.409 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Try to replace the file system on disk in safe mode] ********************* task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:152 Thursday 21 July 2022 14:56:53 +0000 (0:00:01.074) 0:00:37.484 ********* 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:56:53 +0000 (0:00:00.036) 0:00:37.520 ********* 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:56:53 +0000 (0:00:00.033) 0:00:37.554 ********* 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:56:54 +0000 (0:00:00.586) 0:00:38.140 ********* 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:56:54 +0000 (0:00:00.061) 0:00:38.202 ********* 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:56:54 +0000 (0:00:00.033) 0:00:38.235 ********* 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:56:54 +0000 (0:00:00.065) 0:00:38.301 ********* 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:56:54 +0000 (0:00:00.048) 0:00:38.349 ********* 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:56:54 +0000 (0:00:00.020) 0:00:38.370 ********* 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:56:54 +0000 (0:00:00.026) 0:00:38.396 ********* 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:56:54 +0000 (0:00:00.097) 0:00:38.493 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "name": "test1", "type": "disk" } ] } 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:56:54 +0000 (0:00:00.036) 0:00:38.529 ********* 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:56:54 +0000 (0:00:00.027) 0:00:38.556 ********* 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:56:54 +0000 (0:00:00.030) 0:00:38.587 ********* 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:56:54 +0000 (0:00:00.026) 0:00:38.614 ********* 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:56:54 +0000 (0:00:00.025) 0:00:38.639 ********* 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:56:54 +0000 (0:00:00.055) 0:00:38.695 ********* 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:56:54 +0000 (0:00:00.023) 0:00:38.718 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting on volume 'test1' in safe mode TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 14:56:56 +0000 (0:00:01.817) 0:00:40.535 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting on volume 'test1' in safe mode", 'invocation': {'module_args': {'pools': [], 'volumes': [{'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': 'ext3', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], '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': []}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:56:56 +0000 (0:00:00.038) 0:00:40.574 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:167 Thursday 21 July 2022 14:56:56 +0000 (0:00:00.020) 0:00:40.594 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:173 Thursday 21 July 2022 14:56:56 +0000 (0:00:00.038) 0:00:40.633 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remount file system] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:180 Thursday 21 July 2022 14:56:56 +0000 (0:00:00.052) 0:00:40.685 ********* 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:56:56 +0000 (0:00:00.036) 0:00:40.722 ********* 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:56:56 +0000 (0:00:00.038) 0:00:40.761 ********* 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:56:57 +0000 (0:00:00.561) 0:00:41.322 ********* 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:56:57 +0000 (0:00:00.061) 0:00:41.384 ********* 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:56:57 +0000 (0:00:00.033) 0:00:41.418 ********* 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:56:57 +0000 (0:00:00.046) 0:00:41.464 ********* 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:56:57 +0000 (0:00:00.052) 0:00:41.517 ********* 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:56:57 +0000 (0:00:00.021) 0:00:41.538 ********* 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:56:57 +0000 (0:00:00.032) 0:00:41.570 ********* 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:56:57 +0000 (0:00:00.036) 0:00:41.607 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } 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:56:57 +0000 (0:00:00.069) 0:00:41.676 ********* 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:56:57 +0000 (0:00:00.029) 0:00:41.706 ********* 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:56:57 +0000 (0:00:00.069) 0:00:41.775 ********* 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:56:57 +0000 (0:00:00.029) 0:00:41.805 ********* 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:56:57 +0000 (0:00:00.028) 0:00:41.833 ********* 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:56:57 +0000 (0:00:00.060) 0:00:41.894 ********* 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:56:57 +0000 (0:00:00.030) 0:00:41.924 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "state": "mounted" } ], "packages": [ "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:56:59 +0000 (0:00:01.847) 0:00:43.772 ********* 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:56:59 +0000 (0:00:00.036) 0:00:43.809 ********* 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:56:59 +0000 (0:00:00.023) 0:00:43.833 ********* 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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "state": "mounted" } ], "packages": [ "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:56:59 +0000 (0:00:00.036) 0:00:43.869 ********* 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:56:59 +0000 (0:00:00.038) 0:00:43.908 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:56:59 +0000 (0:00:00.037) 0:00:43.945 ********* 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:57:00 +0000 (0:00:00.039) 0:00:43.984 ********* 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:57:00 +0000 (0:00:00.762) 0:00:44.747 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2', 'path': '/opt/test1', 'fstype': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2" } 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:57:01 +0000 (0:00:00.466) 0:00:45.214 ********* 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:57:01 +0000 (0:00:00.758) 0:00:45.972 ********* 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:57:02 +0000 (0:00:00.421) 0:00:46.394 ********* 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:57:02 +0000 (0:00:00.023) 0:00:46.418 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [stat the file] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:191 Thursday 21 July 2022 14:57:03 +0000 (0:00:00.984) 0:00:47.403 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658415403.1469922, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658415403.1469922, "dev": 2048, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1658415403.1469922, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "148142314", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:196 Thursday 21 July 2022 14:57:03 +0000 (0:00:00.498) 0:00:47.901 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create a partition pool on the disk already containing a file system in safe_mode] *** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:204 Thursday 21 July 2022 14:57:03 +0000 (0:00:00.039) 0:00:47.941 ********* 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:57:04 +0000 (0:00:00.038) 0:00:47.979 ********* 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:57:04 +0000 (0:00:00.036) 0:00:48.015 ********* 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:57:04 +0000 (0:00:00.569) 0:00:48.584 ********* 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:57:04 +0000 (0:00:00.060) 0:00:48.645 ********* 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:57:04 +0000 (0:00:00.033) 0:00:48.678 ********* 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:57:04 +0000 (0:00:00.034) 0:00:48.712 ********* 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:57:04 +0000 (0:00:00.048) 0:00:48.761 ********* 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:57:04 +0000 (0:00:00.022) 0:00:48.784 ********* 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:57:04 +0000 (0:00:00.026) 0:00:48.810 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "partition" } ] } 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:57:04 +0000 (0:00:00.035) 0:00:48.846 ********* 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:57:04 +0000 (0:00:00.035) 0:00:48.882 ********* 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:57:04 +0000 (0:00:00.029) 0:00:48.912 ********* 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:57:04 +0000 (0:00:00.028) 0:00:48.940 ********* 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:57:04 +0000 (0:00:00.027) 0:00:48.968 ********* 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:57:05 +0000 (0:00:00.027) 0:00:48.996 ********* 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:57:05 +0000 (0:00:00.060) 0:00:49.056 ********* 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:57:05 +0000 (0:00:00.023) 0:00:49.080 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting and/or devices on disk 'sda' (pool 'foo') in safe mode TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 14:57:06 +0000 (0:00:01.853) 0:00:50.934 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting and/or devices on disk 'sda' (pool 'foo') in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'partition', 'volumes': [], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:57:06 +0000 (0:00:00.038) 0:00:50.972 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:218 Thursday 21 July 2022 14:57:07 +0000 (0:00:00.023) 0:00:50.996 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:224 Thursday 21 July 2022 14:57:07 +0000 (0:00:00.041) 0:00:51.037 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM pool on disk that already belongs to an existing filesystem] *** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:233 Thursday 21 July 2022 14:57:07 +0000 (0:00:00.102) 0:00:51.140 ********* 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:57:07 +0000 (0:00:00.040) 0:00:51.181 ********* 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:57:07 +0000 (0:00:00.037) 0:00:51.218 ********* 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:57:07 +0000 (0:00:00.615) 0:00:51.834 ********* 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:57:07 +0000 (0:00:00.062) 0:00:51.896 ********* 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:57:07 +0000 (0:00:00.032) 0:00:51.929 ********* 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:57:07 +0000 (0:00:00.033) 0:00:51.962 ********* 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:57:08 +0000 (0:00:00.052) 0:00:52.015 ********* 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:57:08 +0000 (0:00:00.022) 0:00:52.037 ********* 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:57:08 +0000 (0:00:00.029) 0:00:52.067 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm" } ] } 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:57:08 +0000 (0:00:00.037) 0:00:52.105 ********* 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:57:08 +0000 (0:00:00.034) 0:00:52.140 ********* 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:57:08 +0000 (0:00:00.035) 0:00:52.175 ********* 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:57:08 +0000 (0:00:00.027) 0:00:52.203 ********* 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:57:08 +0000 (0:00:00.030) 0:00:52.234 ********* 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:57:08 +0000 (0:00:00.026) 0:00:52.260 ********* 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:57:08 +0000 (0:00:00.058) 0:00:52.318 ********* 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:57:08 +0000 (0:00:00.023) 0:00:52.342 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting (ext4) and/or devices on disk 'sda' (pool 'foo') in safe mode TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 14:57:10 +0000 (0:00:01.937) 0:00:54.280 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting (ext4) and/or devices on disk 'sda' (pool 'foo') in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:57:10 +0000 (0:00:00.037) 0:00:54.318 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:247 Thursday 21 July 2022 14:57:10 +0000 (0:00:00.020) 0:00:54.338 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:253 Thursday 21 July 2022 14:57:10 +0000 (0:00:00.035) 0:00:54.373 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:260 Thursday 21 July 2022 14:57:10 +0000 (0:00:00.047) 0:00:54.421 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658415423.7199924, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658415403.1469922, "dev": 2048, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1658415403.1469922, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "148142314", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:265 Thursday 21 July 2022 14:57:10 +0000 (0:00:00.461) 0:00:54.883 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Create a partition pool on the disk already containing a file system w/o safe_mode] *** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:271 Thursday 21 July 2022 14:57:10 +0000 (0:00:00.041) 0:00:54.924 ********* 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:57:10 +0000 (0:00:00.040) 0:00:54.964 ********* 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:57:11 +0000 (0:00:00.036) 0:00:55.001 ********* 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:57:11 +0000 (0:00:00.608) 0:00:55.609 ********* 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:57:11 +0000 (0:00:00.062) 0:00:55.672 ********* 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:57:11 +0000 (0:00:00.034) 0:00:55.707 ********* 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:57:11 +0000 (0:00:00.034) 0:00:55.741 ********* 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:57:11 +0000 (0:00:00.048) 0:00:55.790 ********* 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:57:11 +0000 (0:00:00.021) 0:00:55.812 ********* 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:57:11 +0000 (0:00:00.029) 0:00:55.841 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "partition" } ] } 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:57:11 +0000 (0:00:00.039) 0:00:55.881 ********* 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:57:11 +0000 (0:00:00.037) 0:00:55.919 ********* 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:57:11 +0000 (0:00:00.026) 0:00:55.946 ********* 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:57:12 +0000 (0:00:00.037) 0:00:55.984 ********* 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:57:12 +0000 (0:00:00.034) 0:00:56.018 ********* 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:57:12 +0000 (0:00:00.035) 0:00:56.054 ********* 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:57:12 +0000 (0:00:00.059) 0:00:56.114 ********* 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:57:12 +0000 (0:00:00.024) 0:00:56.138 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" }, { "action": "create format", "device": "/dev/sda", "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": "ext4", "path": "/opt/test1", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [] } ], "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:57:14 +0000 (0:00:02.385) 0:00:58.523 ********* 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:57:14 +0000 (0:00:00.043) 0:00:58.567 ********* 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:57:14 +0000 (0:00:00.028) 0:00:58.595 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" }, { "action": "create format", "device": "/dev/sda", "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": "ext4", "path": "/opt/test1", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [] } ], "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:57:14 +0000 (0:00:00.039) 0:00:58.635 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [] } ] }, "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:57:14 +0000 (0:00:00.078) 0:00:58.713 ********* 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:57:14 +0000 (0:00:00.095) 0:00:58.809 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=0a1e85e5-aedb-4e35-9c98-b9bddc7b46c2" } 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:57:15 +0000 (0:00:00.479) 0:00:59.288 ********* 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:57:16 +0000 (0:00:00.757) 0:01:00.046 ********* 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:57:16 +0000 (0:00:00.037) 0:01:00.083 ********* 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:57:16 +0000 (0:00:00.749) 0:01:00.833 ********* 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:57:17 +0000 (0:00:00.426) 0:01:01.259 ********* 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:57:17 +0000 (0:00:00.025) 0:01:01.284 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Verify the output] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:281 Thursday 21 July 2022 14:57:18 +0000 (0:00:01.019) 0:01:02.304 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:286 Thursday 21 July 2022 14:57:18 +0000 (0:00:00.037) 0:01:02.341 ********* 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:57:18 +0000 (0:00:00.043) 0:01:02.385 ********* 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:57:18 +0000 (0:00:00.036) 0:01:02.421 ********* 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:57:19 +0000 (0:00:00.596) 0:01:03.017 ********* 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:57:19 +0000 (0:00:00.064) 0:01:03.082 ********* 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:57:19 +0000 (0:00:00.034) 0:01:03.116 ********* 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:57:19 +0000 (0:00:00.062) 0:01:03.179 ********* 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:57:19 +0000 (0:00:00.046) 0:01:03.226 ********* 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:57:19 +0000 (0:00:00.023) 0:01:03.249 ********* 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:57:19 +0000 (0:00:00.058) 0:01:03.308 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "partition" } ] } 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:57:19 +0000 (0:00:00.047) 0:01:03.355 ********* 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:57:19 +0000 (0:00:00.037) 0:01:03.393 ********* 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:57:19 +0000 (0:00:00.027) 0:01:03.420 ********* 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:57:19 +0000 (0:00:00.030) 0:01:03.450 ********* 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:57:19 +0000 (0:00:00.030) 0:01:03.481 ********* 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:57:19 +0000 (0:00:00.030) 0:01:03.511 ********* 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:57:19 +0000 (0:00:00.058) 0:01:03.570 ********* 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:57:19 +0000 (0:00:00.024) 0:01:03.595 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "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": [], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "partition", "volumes": [] } ], "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:57:21 +0000 (0:00:01.985) 0:01:05.580 ********* 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:57:21 +0000 (0:00:00.047) 0:01:05.628 ********* 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:57:21 +0000 (0:00:00.024) 0:01:05.652 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "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": [], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "partition", "volumes": [] } ], "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:57:21 +0000 (0:00:00.041) 0:01:05.693 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "partition", "volumes": [] } ] }, "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:57:21 +0000 (0:00:00.041) 0:01:05.735 ********* 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:57:21 +0000 (0:00:00.042) 0:01:05.777 ********* 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:57:21 +0000 (0:00:00.038) 0:01:05.816 ********* 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:57:21 +0000 (0:00:00.023) 0:01:05.840 ********* 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:57:21 +0000 (0:00:00.037) 0:01:05.877 ********* 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:57:21 +0000 (0:00:00.026) 0:01:05.903 ********* 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:57:22 +0000 (0:00:00.422) 0:01:06.325 ********* 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:57:22 +0000 (0:00:00.024) 0:01:06.350 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=184 changed=8 unreachable=0 failed=6 skipped=119 rescued=6 ignored=0 Thursday 21 July 2022 14:57:23 +0000 (0:00:00.991) 0:01:07.342 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.39s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 2.38s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : get service facts -------------------------- 2.25s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.11s /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 --- 2.03s /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 --- 1.99s /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 --- 1.94s /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 --- 1.91s /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 --- 1.89s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure required packages are installed --- 1.86s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.85s /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 --- 1.85s /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 --- 1.82s /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 --- 1.79s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gathering Facts --------------------------------------------------------- 1.33s /tmp/tmpmb3dyg70/tests/tests_disk_errors.yml:2 -------------------------------- linux-system-roles.storage : Update facts ------------------------------- 1.07s /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.05s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 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 : Update facts ------------------------------- 0.99s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 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_disk_errors.yml ************************************************ 1 plays in /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:2 Thursday 21 July 2022 18:53:04 +0000 (0:00:00.016) 0:00:00.016 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:11 Thursday 21 July 2022 18:53:05 +0000 (0:00:01.363) 0:00:01.379 ********* 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:53:05 +0000 (0:00:00.036) 0:00:01.416 ********* 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:53:05 +0000 (0:00:00.032) 0:00:01.448 ********* 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:53:06 +0000 (0:00:00.557) 0:00:02.006 ********* 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:53:06 +0000 (0:00:00.057) 0:00:02.063 ********* 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:53:06 +0000 (0:00:00.030) 0:00:02.094 ********* 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:53:06 +0000 (0:00:00.031) 0:00:02.126 ********* 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:53:06 +0000 (0:00:00.057) 0:00:02.183 ********* 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:53:06 +0000 (0:00:00.019) 0:00:02.203 ********* 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:53:08 +0000 (0:00:02.581) 0:00:04.785 ********* 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:53:08 +0000 (0:00:00.034) 0:00:04.819 ********* 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:53:08 +0000 (0:00:00.034) 0:00:04.853 ********* 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:53:09 +0000 (0:00:00.798) 0:00:05.652 ********* 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:53:09 +0000 (0:00:00.048) 0:00:05.700 ********* 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:53:09 +0000 (0:00:00.053) 0:00:05.754 ********* 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:53:09 +0000 (0:00:00.036) 0:00:05.790 ********* 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:53:09 +0000 (0:00:00.043) 0:00:05.833 ********* 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:53:11 +0000 (0:00:01.965) 0:00:07.799 ********* 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:53:14 +0000 (0:00:02.208) 0:00:10.007 ********* 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:53:14 +0000 (0:00:00.057) 0:00:10.064 ********* 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:53:14 +0000 (0:00:00.022) 0:00:10.086 ********* 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:53:14 +0000 (0:00:00.586) 0:00:10.673 ********* 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:53:14 +0000 (0:00:00.034) 0:00:10.707 ********* 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:53:14 +0000 (0:00:00.020) 0:00:10.728 ********* 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:53:14 +0000 (0:00:00.039) 0:00:10.768 ********* 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:53:14 +0000 (0:00:00.037) 0:00:10.805 ********* 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:53:14 +0000 (0:00:00.036) 0:00:10.842 ********* 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:53:15 +0000 (0:00:00.033) 0:00:10.876 ********* 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:53:15 +0000 (0:00:00.024) 0:00:10.900 ********* 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:53:15 +0000 (0:00:00.035) 0:00:10.935 ********* 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:53:15 +0000 (0:00:00.024) 0:00:10.960 ********* 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:53:15 +0000 (0:00:00.549) 0:00:11.510 ********* 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:53:15 +0000 (0:00:00.022) 0:00:11.532 ********* 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_disk_errors.yml:14 Thursday 21 July 2022 18:53:16 +0000 (0:00:00.984) 0:00:12.517 ********* 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_disk_errors.yml:21 Thursday 21 July 2022 18:53:16 +0000 (0:00:00.060) 0:00:12.578 ********* 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:53:16 +0000 (0:00:00.036) 0:00:12.614 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 18:53:17 +0000 (0:00:00.566) 0:00:13.181 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "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:53:17 +0000 (0:00:00.038) 0:00:13.219 ********* 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:53:17 +0000 (0:00:00.037) 0:00:13.256 ********* ok: [/cache/fedora-36.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create a disk volume mounted at "/opt/test1"] **************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:28 Thursday 21 July 2022 18:53:17 +0000 (0:00:00.038) 0:00:13.295 ********* 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:53:17 +0000 (0:00:00.040) 0:00:13.335 ********* 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:53:17 +0000 (0:00:00.035) 0:00:13.370 ********* 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:53:18 +0000 (0:00:00.574) 0:00:13.945 ********* 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:53:18 +0000 (0:00:00.063) 0:00:14.008 ********* 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:53:18 +0000 (0:00:00.034) 0:00:14.043 ********* 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:53:18 +0000 (0:00:00.044) 0:00:14.087 ********* 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:53:18 +0000 (0:00:00.067) 0:00:14.155 ********* 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:53:18 +0000 (0:00:00.020) 0:00:14.175 ********* 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:53:18 +0000 (0:00:00.028) 0:00:14.204 ********* 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:53:18 +0000 (0:00:00.034) 0:00:14.239 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "/dev/surelyidonotexist" ], "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } 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:53:18 +0000 (0:00:00.035) 0:00:14.274 ********* 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:53:18 +0000 (0:00:00.026) 0:00:14.301 ********* 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:53:18 +0000 (0:00:00.027) 0:00:14.329 ********* 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:53:18 +0000 (0:00:00.026) 0:00:14.355 ********* 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:53:18 +0000 (0:00:00.026) 0:00:14.382 ********* 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:53:18 +0000 (0:00:00.067) 0:00:14.449 ********* 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:53:18 +0000 (0:00:00.023) 0:00:14.473 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: unable to resolve disk specified for volume 'test1' (['/dev/surelyidonotexist']) TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 18:53:20 +0000 (0:00:01.948) 0:00:16.421 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "unable to resolve disk specified for volume 'test1' (['/dev/surelyidonotexist'])", 'invocation': {'module_args': {'pools': [], 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': None, 'state': 'present', 'type': 'disk', 'disks': ['/dev/surelyidonotexist'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:53:20 +0000 (0:00:00.037) 0:00:16.459 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:43 Thursday 21 July 2022 18:53:20 +0000 (0:00:00.022) 0:00:16.481 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create two volumes w/ the same name] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:62 Thursday 21 July 2022 18:53:20 +0000 (0:00:00.038) 0:00:16.519 ********* 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:53:20 +0000 (0:00:00.037) 0:00:16.557 ********* 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:53:20 +0000 (0:00:00.035) 0:00:16.592 ********* 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:53:21 +0000 (0:00:00.573) 0:00:17.166 ********* 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:53:21 +0000 (0:00:00.062) 0:00:17.229 ********* 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:53:21 +0000 (0:00:00.037) 0:00:17.266 ********* 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:53:21 +0000 (0:00:00.038) 0:00:17.304 ********* 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:53:21 +0000 (0:00:00.058) 0:00:17.363 ********* 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:53:21 +0000 (0:00:00.023) 0:00:17.386 ********* 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:53:21 +0000 (0:00:00.029) 0:00:17.416 ********* 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:53:21 +0000 (0:00:00.035) 0:00:17.452 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "name": "vol1", "type": "disk" }, { "disks": [ "sda" ], "name": "vol1", "type": "disk" } ] } 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:53:21 +0000 (0:00:00.063) 0:00:17.515 ********* 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:53:21 +0000 (0:00:00.028) 0:00:17.543 ********* 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:53:21 +0000 (0:00:00.026) 0:00:17.570 ********* 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:53:21 +0000 (0:00:00.028) 0:00:17.598 ********* 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:53:21 +0000 (0:00:00.029) 0:00:17.628 ********* 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:53:21 +0000 (0:00:00.086) 0:00:17.715 ********* 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:53:21 +0000 (0:00:00.023) 0:00:17.738 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: multiple volumes with the same name: vol1 TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 18:53:23 +0000 (0:00:01.845) 0:00:19.583 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': 'multiple volumes with the same name: vol1', 'invocation': {'module_args': {'pools': [], 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': None, 'name': 'vol1', 'raid_level': None, 'size': None, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None}, {'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': None, 'name': 'vol1', 'raid_level': None, 'size': None, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:53:23 +0000 (0:00:00.041) 0:00:19.625 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:79 Thursday 21 July 2022 18:53:23 +0000 (0:00:00.022) 0:00:19.648 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the duplicate volumes test] ************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:85 Thursday 21 July 2022 18:53:23 +0000 (0:00:00.037) 0:00:19.685 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Create a file system on disk] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:90 Thursday 21 July 2022 18:53:23 +0000 (0:00:00.046) 0:00:19.732 ********* 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:53:23 +0000 (0:00:00.053) 0:00:19.786 ********* 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:53:23 +0000 (0:00:00.045) 0:00:19.831 ********* 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:53:24 +0000 (0:00:00.590) 0:00:20.421 ********* 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:53:24 +0000 (0:00:00.068) 0:00:20.489 ********* 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:53:24 +0000 (0:00:00.036) 0:00:20.526 ********* 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:53:24 +0000 (0:00:00.036) 0:00:20.563 ********* 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:53:24 +0000 (0:00:00.060) 0:00:20.623 ********* 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:53:24 +0000 (0:00:00.021) 0:00:20.645 ********* 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:53:24 +0000 (0:00:00.030) 0:00:20.675 ********* 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:53:24 +0000 (0:00:00.038) 0:00:20.713 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } 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:53:24 +0000 (0:00:00.036) 0:00:20.750 ********* 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:53:24 +0000 (0:00:00.029) 0:00:20.780 ********* 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:53:24 +0000 (0:00:00.030) 0:00:20.810 ********* 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:53:24 +0000 (0:00:00.031) 0:00:20.841 ********* 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:53:25 +0000 (0:00:00.029) 0:00:20.871 ********* 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:53:25 +0000 (0:00:00.097) 0:00:20.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:53:25 +0000 (0:00:00.023) 0:00:20.992 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "state": "mounted" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:53:27 +0000 (0:00:02.064) 0:00:23.056 ********* 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:53:27 +0000 (0:00:00.069) 0:00:23.126 ********* 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:53:27 +0000 (0:00:00.022) 0:00:23.148 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "state": "mounted" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:53:27 +0000 (0:00:00.037) 0:00:23.185 ********* 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:53:27 +0000 (0:00:00.039) 0:00:23.225 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:53:27 +0000 (0:00:00.041) 0:00:23.267 ********* 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:53:27 +0000 (0:00:00.039) 0:00:23.307 ********* 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:53:28 +0000 (0:00:01.006) 0:00:24.313 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=48139b7d-b120-4cfb-ab62-754aece7f170', 'path': '/opt/test1', 'fstype': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170" } 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:53:29 +0000 (0:00:00.599) 0:00:24.912 ********* 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:53:29 +0000 (0:00:00.767) 0:00:25.680 ********* 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:53:30 +0000 (0:00:00.421) 0:00:26.102 ********* 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:53:30 +0000 (0:00:00.022) 0:00:26.124 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [create a file] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:101 Thursday 21 July 2022 18:53:31 +0000 (0:00:00.984) 0:00:27.109 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Try to replace the file system on disk in safe mode] ********************* task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:109 Thursday 21 July 2022 18:53:31 +0000 (0:00:00.569) 0:00:27.678 ********* 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:53:31 +0000 (0:00:00.038) 0:00:27.717 ********* 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:53:31 +0000 (0:00:00.061) 0:00:27.778 ********* 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:53:32 +0000 (0:00:00.561) 0:00:28.340 ********* 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:53:32 +0000 (0:00:00.061) 0:00:28.401 ********* 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:53:32 +0000 (0:00:00.034) 0:00:28.435 ********* 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:53:32 +0000 (0:00:00.038) 0:00:28.474 ********* 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:53:32 +0000 (0:00:00.057) 0:00:28.531 ********* 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:53:32 +0000 (0:00:00.021) 0:00:28.553 ********* 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:53:32 +0000 (0:00:00.030) 0:00:28.583 ********* 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:53:32 +0000 (0:00:00.037) 0:00:28.621 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "name": "test1", "type": "disk" } ] } 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:53:32 +0000 (0:00:00.039) 0:00:28.660 ********* 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:53:32 +0000 (0:00:00.028) 0:00:28.688 ********* 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:53:32 +0000 (0:00:00.029) 0:00:28.717 ********* 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:53:32 +0000 (0:00:00.029) 0:00:28.747 ********* 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:53:32 +0000 (0:00:00.027) 0:00:28.774 ********* 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:53:32 +0000 (0:00:00.058) 0:00:28.832 ********* 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:53:32 +0000 (0:00:00.022) 0:00:28.855 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting on volume 'test1' in safe mode TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 18:53:34 +0000 (0:00:01.801) 0:00:30.656 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting on volume 'test1' in safe mode", 'invocation': {'module_args': {'pools': [], 'volumes': [{'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': 'ext3', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], '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': []}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:53:34 +0000 (0:00:00.041) 0:00:30.697 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:124 Thursday 21 July 2022 18:53:34 +0000 (0:00:00.020) 0:00:30.718 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:130 Thursday 21 July 2022 18:53:34 +0000 (0:00:00.068) 0:00:30.786 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unmount file system] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:135 Thursday 21 July 2022 18:53:34 +0000 (0:00:00.065) 0:00:30.852 ********* 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:53:35 +0000 (0:00:00.041) 0:00:30.893 ********* 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:53:35 +0000 (0:00:00.075) 0:00:30.969 ********* 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:53:35 +0000 (0:00:00.562) 0:00:31.531 ********* 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:53:35 +0000 (0:00:00.065) 0:00:31.597 ********* 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:53:35 +0000 (0:00:00.043) 0:00:31.640 ********* 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:53:35 +0000 (0:00:00.039) 0:00:31.679 ********* 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:53:35 +0000 (0:00:00.058) 0:00:31.737 ********* 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:53:35 +0000 (0:00:00.023) 0:00:31.760 ********* 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:53:35 +0000 (0:00:00.030) 0:00:31.791 ********* 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:53:35 +0000 (0:00:00.037) 0:00:31.829 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext4", "mount_point": "none", "name": "test1", "type": "disk" } ] } 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:53:36 +0000 (0:00:00.041) 0:00:31.870 ********* 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:53:36 +0000 (0:00:00.031) 0:00:31.901 ********* 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:53:36 +0000 (0:00:00.029) 0:00:31.930 ********* 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:53:36 +0000 (0:00:00.029) 0:00:31.960 ********* 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:53:36 +0000 (0:00:00.026) 0:00:31.986 ********* 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:53:36 +0000 (0:00:00.057) 0:00:32.044 ********* 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:53:36 +0000 (0:00:00.023) 0:00:32.067 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "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": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:53:38 +0000 (0:00:01.813) 0:00:33.881 ********* 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:53:38 +0000 (0:00:00.037) 0:00:33.919 ********* 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:53:38 +0000 (0:00:00.023) 0:00:33.942 ********* 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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:53:38 +0000 (0:00:00.041) 0:00:33.984 ********* 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:53:38 +0000 (0:00:00.039) 0:00:34.024 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:53:38 +0000 (0:00:00.069) 0:00:34.093 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 18:53:38 +0000 (0:00:00.450) 0:00:34.544 ********* 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:53:39 +0000 (0:00:00.876) 0:00:35.421 ********* 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:53:39 +0000 (0:00:00.038) 0:00:35.459 ********* 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:53:40 +0000 (0:00:00.783) 0:00:36.243 ********* 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:53:40 +0000 (0:00:00.420) 0:00:36.663 ********* 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:53:40 +0000 (0:00:00.022) 0:00:36.686 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Try to replace the file system on disk in safe mode] ********************* task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:148 Thursday 21 July 2022 18:53:41 +0000 (0:00:01.017) 0:00:37.703 ********* 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:53:41 +0000 (0:00:00.037) 0:00:37.741 ********* 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:53:41 +0000 (0:00:00.036) 0:00:37.777 ********* 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:53:42 +0000 (0:00:00.577) 0:00:38.355 ********* 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:53:42 +0000 (0:00:00.063) 0:00:38.418 ********* 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:53:42 +0000 (0:00:00.039) 0:00:38.457 ********* 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:53:42 +0000 (0:00:00.036) 0:00:38.494 ********* 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:53:42 +0000 (0:00:00.058) 0:00:38.552 ********* 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:53:42 +0000 (0:00:00.022) 0:00:38.575 ********* 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:53:42 +0000 (0:00:00.030) 0:00:38.606 ********* 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:53:42 +0000 (0:00:00.077) 0:00:38.684 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "name": "test1", "type": "disk" } ] } 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:53:42 +0000 (0:00:00.069) 0:00:38.753 ********* 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:53:42 +0000 (0:00:00.028) 0:00:38.782 ********* 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:53:42 +0000 (0:00:00.029) 0:00:38.812 ********* 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:53:42 +0000 (0:00:00.030) 0:00:38.843 ********* 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:53:43 +0000 (0:00:00.079) 0:00:38.923 ********* 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:53:43 +0000 (0:00:00.061) 0:00:38.985 ********* 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:53:43 +0000 (0:00:00.023) 0:00:39.008 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting on volume 'test1' in safe mode TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 18:53:44 +0000 (0:00:01.807) 0:00:40.816 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting on volume 'test1' in safe mode", 'invocation': {'module_args': {'pools': [], 'volumes': [{'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': 'ext3', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], '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': []}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:53:44 +0000 (0:00:00.040) 0:00:40.856 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:163 Thursday 21 July 2022 18:53:45 +0000 (0:00:00.020) 0:00:40.876 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:169 Thursday 21 July 2022 18:53:45 +0000 (0:00:00.033) 0:00:40.910 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remount file system] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:174 Thursday 21 July 2022 18:53:45 +0000 (0:00:00.045) 0:00:40.956 ********* 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:53:45 +0000 (0:00:00.035) 0:00:40.992 ********* 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:53:45 +0000 (0:00:00.035) 0:00:41.028 ********* 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:53:45 +0000 (0:00:00.560) 0:00:41.588 ********* 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:53:45 +0000 (0:00:00.061) 0:00:41.649 ********* 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:53:45 +0000 (0:00:00.033) 0:00:41.683 ********* 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:53:45 +0000 (0:00:00.035) 0:00:41.718 ********* 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:53:45 +0000 (0:00:00.065) 0:00:41.783 ********* 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:53:45 +0000 (0:00:00.023) 0:00:41.807 ********* 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:53:45 +0000 (0:00:00.032) 0:00:41.840 ********* 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:53:46 +0000 (0:00:00.040) 0:00:41.880 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } 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:53:46 +0000 (0:00:00.037) 0:00:41.917 ********* 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:53:46 +0000 (0:00:00.028) 0:00:41.946 ********* 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:53:46 +0000 (0:00:00.028) 0:00:41.975 ********* 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:53:46 +0000 (0:00:00.033) 0:00:42.009 ********* 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:53:46 +0000 (0:00:00.030) 0:00:42.040 ********* 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:53:46 +0000 (0:00:00.098) 0:00:42.138 ********* 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:53:46 +0000 (0:00:00.024) 0:00:42.162 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "state": "mounted" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:53:48 +0000 (0:00:01.835) 0:00:43.998 ********* 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:53:48 +0000 (0:00:00.039) 0:00:44.038 ********* 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:53:48 +0000 (0:00:00.024) 0:00:44.062 ********* 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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "state": "mounted" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:53:48 +0000 (0:00:00.131) 0:00:44.193 ********* 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:53:48 +0000 (0:00:00.040) 0:00:44.234 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 18:53:48 +0000 (0:00:00.040) 0:00:44.275 ********* 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:53:48 +0000 (0:00:00.041) 0:00:44.316 ********* 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:53:49 +0000 (0:00:00.757) 0:00:45.073 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=48139b7d-b120-4cfb-ab62-754aece7f170', 'path': '/opt/test1', 'fstype': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170" } 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:53:49 +0000 (0:00:00.476) 0:00:45.550 ********* 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:53:50 +0000 (0:00:00.847) 0:00:46.397 ********* 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:53:50 +0000 (0:00:00.432) 0:00:46.830 ********* 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:53:50 +0000 (0:00:00.022) 0:00:46.852 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [stat the file] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:185 Thursday 21 July 2022 18:53:52 +0000 (0:00:01.018) 0:00:47.871 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658429611.5914607, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658429611.5914607, "dev": 2048, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1658429611.5914607, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1074607324", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:190 Thursday 21 July 2022 18:53:52 +0000 (0:00:00.443) 0:00:48.315 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create a partition pool on the disk already containing a file system in safe_mode] *** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:197 Thursday 21 July 2022 18:53:52 +0000 (0:00:00.074) 0:00:48.389 ********* 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:53:52 +0000 (0:00:00.042) 0:00:48.432 ********* 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:53:52 +0000 (0:00:00.035) 0:00:48.468 ********* 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:53:53 +0000 (0:00:00.647) 0:00:49.115 ********* 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:53:53 +0000 (0:00:00.066) 0:00:49.182 ********* 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:53:53 +0000 (0:00:00.035) 0:00:49.218 ********* 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:53:53 +0000 (0:00:00.037) 0:00:49.256 ********* 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:53:53 +0000 (0:00:00.057) 0:00:49.314 ********* 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:53:53 +0000 (0:00:00.020) 0:00:49.334 ********* 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:53:53 +0000 (0:00:00.028) 0:00:49.362 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "partition" } ] } 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:53:53 +0000 (0:00:00.037) 0:00:49.400 ********* 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:53:53 +0000 (0:00:00.039) 0:00:49.439 ********* 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:53:53 +0000 (0:00:00.035) 0:00:49.475 ********* 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:53:53 +0000 (0:00:00.037) 0:00:49.512 ********* 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:53:53 +0000 (0:00:00.028) 0:00:49.541 ********* 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:53:53 +0000 (0:00:00.028) 0:00:49.569 ********* 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:53:53 +0000 (0:00:00.060) 0:00:49.630 ********* 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:53:53 +0000 (0:00:00.023) 0:00:49.653 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting and/or devices on disk 'sda' (pool 'foo') in safe mode TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 18:53:55 +0000 (0:00:01.836) 0:00:51.490 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting and/or devices on disk 'sda' (pool 'foo') in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'partition', 'volumes': [], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:53:55 +0000 (0:00:00.042) 0:00:51.532 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:211 Thursday 21 July 2022 18:53:55 +0000 (0:00:00.022) 0:00:51.555 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:217 Thursday 21 July 2022 18:53:55 +0000 (0:00:00.038) 0:00:51.593 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM pool on disk that already belongs to an existing filesystem] *** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:224 Thursday 21 July 2022 18:53:55 +0000 (0:00:00.058) 0:00:51.652 ********* 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:53:55 +0000 (0:00:00.038) 0:00:51.691 ********* 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:53:55 +0000 (0:00:00.034) 0:00:51.726 ********* 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:53:56 +0000 (0:00:00.622) 0:00:52.348 ********* 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:53:56 +0000 (0:00:00.101) 0:00:52.450 ********* 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:53:56 +0000 (0:00:00.075) 0:00:52.525 ********* 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:53:56 +0000 (0:00:00.037) 0:00:52.563 ********* 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:53:56 +0000 (0:00:00.056) 0:00:52.620 ********* 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:53:56 +0000 (0:00:00.021) 0:00:52.642 ********* 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:53:56 +0000 (0:00:00.030) 0:00:52.673 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm" } ] } 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:53:56 +0000 (0:00:00.040) 0:00:52.713 ********* 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:53:56 +0000 (0:00:00.040) 0:00:52.753 ********* 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:53:56 +0000 (0:00:00.030) 0:00:52.784 ********* 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:53:56 +0000 (0:00:00.031) 0:00:52.815 ********* 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:53:56 +0000 (0:00:00.035) 0:00:52.851 ********* 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:53:57 +0000 (0:00:00.032) 0:00:52.884 ********* 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:53:57 +0000 (0:00:00.059) 0:00:52.944 ********* 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:53:57 +0000 (0:00:00.028) 0:00:52.973 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove existing formatting (ext4) and/or devices on disk 'sda' (pool 'foo') in safe mode TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 18:53:58 +0000 (0:00:01.875) 0:00:54.848 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove existing formatting (ext4) and/or devices on disk 'sda' (pool 'foo') in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': 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': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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:53:59 +0000 (0:00:00.038) 0:00:54.887 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:238 Thursday 21 July 2022 18:53:59 +0000 (0:00:00.023) 0:00:54.910 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:244 Thursday 21 July 2022 18:53:59 +0000 (0:00:00.050) 0:00:54.960 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:249 Thursday 21 July 2022 18:53:59 +0000 (0:00:00.049) 0:00:55.010 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658429632.2184608, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658429611.5914607, "dev": 2048, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1658429611.5914607, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1074607324", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:254 Thursday 21 July 2022 18:53:59 +0000 (0:00:00.429) 0:00:55.440 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Create a partition pool on the disk already containing a file system w/o safe_mode] *** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:259 Thursday 21 July 2022 18:53:59 +0000 (0:00:00.042) 0:00:55.483 ********* 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:53:59 +0000 (0:00:00.041) 0:00:55.524 ********* 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:53:59 +0000 (0:00:00.037) 0:00:55.562 ********* 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:54:00 +0000 (0:00:00.583) 0:00:56.146 ********* 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:54:00 +0000 (0:00:00.072) 0:00:56.218 ********* 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:54:00 +0000 (0:00:00.090) 0:00:56.308 ********* 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:54:00 +0000 (0:00:00.099) 0:00:56.408 ********* 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:54:00 +0000 (0:00:00.057) 0:00:56.466 ********* 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:54:00 +0000 (0:00:00.024) 0:00:56.491 ********* 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:54:00 +0000 (0:00:00.030) 0:00:56.521 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "partition" } ] } 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:54:00 +0000 (0:00:00.039) 0:00:56.561 ********* 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:54:00 +0000 (0:00:00.035) 0:00:56.596 ********* 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:54:00 +0000 (0:00:00.027) 0:00:56.624 ********* 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:54:00 +0000 (0:00:00.026) 0:00:56.651 ********* 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:54:00 +0000 (0:00:00.026) 0:00:56.677 ********* 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:54:00 +0000 (0:00:00.025) 0:00:56.703 ********* 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:54:00 +0000 (0:00:00.056) 0:00:56.759 ********* 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:54:00 +0000 (0:00:00.023) 0:00:56.782 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" }, { "action": "create format", "device": "/dev/sda", "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": "ext4", "path": "/opt/test1", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [] } ], "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:54:03 +0000 (0:00:02.422) 0:00:59.205 ********* 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:54:03 +0000 (0:00:00.037) 0:00:59.243 ********* 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:54:03 +0000 (0:00:00.023) 0:00:59.266 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" }, { "action": "create format", "device": "/dev/sda", "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": "ext4", "path": "/opt/test1", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [] } ], "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:54:03 +0000 (0:00:00.039) 0:00:59.305 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [] } ] }, "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:54:03 +0000 (0:00:00.036) 0:00:59.342 ********* 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:54:03 +0000 (0:00:00.039) 0:00:59.381 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': 'UUID=48139b7d-b120-4cfb-ab62-754aece7f170', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=48139b7d-b120-4cfb-ab62-754aece7f170" } 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:54:03 +0000 (0:00:00.450) 0:00:59.832 ********* 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:54:04 +0000 (0:00:00.759) 0:01:00.592 ********* 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:54:04 +0000 (0:00:00.041) 0:01:00.633 ********* 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:54:05 +0000 (0:00:00.740) 0:01:01.374 ********* 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:54:05 +0000 (0:00:00.458) 0:01:01.832 ********* 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:54:05 +0000 (0:00:00.023) 0:01:01.856 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Verify the output] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:269 Thursday 21 July 2022 18:54:07 +0000 (0:00:01.051) 0:01:02.908 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:274 Thursday 21 July 2022 18:54:07 +0000 (0:00:00.072) 0:01:02.981 ********* 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:54:07 +0000 (0:00:00.071) 0:01:03.053 ********* 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:54:07 +0000 (0:00:00.037) 0:01:03.090 ********* 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:54:07 +0000 (0:00:00.571) 0:01:03.662 ********* 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:54:07 +0000 (0:00:00.061) 0:01:03.723 ********* 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:54:07 +0000 (0:00:00.033) 0:01:03.757 ********* 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:54:07 +0000 (0:00:00.036) 0:01:03.793 ********* 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:54:07 +0000 (0:00:00.066) 0:01:03.860 ********* 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:54:08 +0000 (0:00:00.022) 0:01:03.882 ********* 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:54:08 +0000 (0:00:00.033) 0:01:03.915 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "partition" } ] } 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:54:08 +0000 (0:00:00.043) 0:01:03.958 ********* 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:54:08 +0000 (0:00:00.038) 0:01:03.997 ********* 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:54:08 +0000 (0:00:00.031) 0:01:04.029 ********* 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:54:08 +0000 (0:00:00.030) 0:01:04.059 ********* 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:54:08 +0000 (0:00:00.032) 0:01:04.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:54:08 +0000 (0:00:00.029) 0:01:04.121 ********* 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:54:08 +0000 (0:00:00.059) 0:01:04.180 ********* 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:54:08 +0000 (0:00:00.024) 0:01:04.205 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "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": [], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "partition", "volumes": [] } ], "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:54:10 +0000 (0:00:01.955) 0:01:06.160 ********* 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:54:10 +0000 (0:00:00.040) 0:01:06.200 ********* 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:54:10 +0000 (0:00:00.022) 0:01:06.222 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "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": [], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "partition", "volumes": [] } ], "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:54:10 +0000 (0:00:00.036) 0:01:06.259 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "partition", "volumes": [] } ] }, "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:54:10 +0000 (0:00:00.079) 0:01:06.338 ********* 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:54:10 +0000 (0:00:00.077) 0:01:06.416 ********* 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:54:10 +0000 (0:00:00.034) 0:01:06.450 ********* 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:54:10 +0000 (0:00:00.023) 0:01:06.473 ********* 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:54:10 +0000 (0:00:00.036) 0:01:06.510 ********* 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:54:10 +0000 (0:00:00.051) 0:01:06.562 ********* 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:54:11 +0000 (0:00:00.437) 0:01:06.999 ********* 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:54:11 +0000 (0:00:00.022) 0:01:07.022 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=184 changed=8 unreachable=0 failed=6 skipped=119 rescued=6 ignored=0 Thursday 21 July 2022 18:54:12 +0000 (0:00:01.007) 0:01:08.030 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ------- 2.58s /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.42s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 2.21s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.06s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure required packages are installed --- 1.97s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.96s /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 --- 1.95s /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 --- 1.88s /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 --- 1.85s /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 --- 1.84s /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 --- 1.84s /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 --- 1.81s /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 --- 1.81s /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 --- 1.80s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.36s /tmp/tmppde4z2jm/tests/storage/tests_disk_errors.yml:2 ------------------------ fedora.linux_system_roles.storage : Update facts ------------------------ 1.05s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 1.02s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 1.02s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 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 : tell systemd to refresh its view of /etc/fstab --- 1.01s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132