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/tmpj2uhjp4w 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 21 July 2022 16:52:06 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 16:52:08 +0000 (0:00:01.394) 0:00:01.413 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.39s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_misc_nvme_generated.yml **************************************** 2 plays in /tmp/tmpw6dixrb5/tests/tests_misc_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/tests_misc_nvme_generated.yml:3 Thursday 21 July 2022 16:52:08 +0000 (0:00:00.022) 0:00:01.435 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpw6dixrb5/tests/tests_misc_nvme_generated.yml:7 Thursday 21 July 2022 16:52:09 +0000 (0:00:01.237) 0:00:02.673 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:2 Thursday 21 July 2022 16:52:09 +0000 (0:00:00.046) 0:00:02.720 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:16 Thursday 21 July 2022 16:52:11 +0000 (0:00:01.837) 0:00:04.557 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:52:11 +0000 (0:00:00.034) 0:00:04.592 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:52:11 +0000 (0:00:00.030) 0:00:04.623 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:52:12 +0000 (0:00:00.930) 0:00:05.554 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:52:12 +0000 (0:00:00.083) 0:00:05.637 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:52:12 +0000 (0:00:00.029) 0:00:05.667 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:52:12 +0000 (0:00:00.031) 0:00:05.698 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:52:12 +0000 (0:00:00.045) 0:00:05.744 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:52:12 +0000 (0:00:00.017) 0:00:05.762 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-22.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-22.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-6.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: python3-blivet-1:3.4.0-9.el8.noarch", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: blivet-data-1:3.4.0-9.el8.noarch", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: lvm2-8:2.03.14-3.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-3.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: nspr-4.32.0-1.el8_4.x86_64", "Installed: nss-3.67.0-7.el8_5.x86_64", "Installed: mdadm-4.2-2.el8.x86_64", "Installed: nss-softokn-3.67.0-7.el8_5.x86_64", "Installed: nss-softokn-freebl-3.67.0-7.el8_5.x86_64", "Installed: nss-sysinit-3.67.0-7.el8_5.x86_64", "Installed: nss-util-3.67.0-7.el8_5.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: ndctl-71.1-3.el8.x86_64", "Installed: ndctl-libs-71.1-3.el8.x86_64", "Installed: daxctl-libs-71.1-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64" ] } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:53:04 +0000 (0:00:51.553) 0:00:57.315 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:53:04 +0000 (0:00:00.035) 0:00:57.350 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:53:04 +0000 (0:00:00.035) 0:00:57.386 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:53:04 +0000 (0:00:00.748) 0:00:58.135 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 16:53:04 +0000 (0:00:00.042) 0:00:58.178 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 16:53:04 +0000 (0:00:00.033) 0:00:58.211 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 16:53:04 +0000 (0:00:00.037) 0:00:58.249 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:53:05 +0000 (0:00:00.030) 0:00:58.279 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:53:06 +0000 (0:00:01.292) 0:00:59.572 ********* ok: [/cache/rhel-8.qcow2] => { "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" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "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" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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": "stopped", "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" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "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" }, "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" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "run-rf0fa4aa269ab4eb092d45d5599ccd325.service": { "name": "run-rf0fa4aa269ab4eb092d45d5599ccd325.service", "source": "systemd", "state": "running", "status": "transient" }, "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" }, "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" }, "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": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "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-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-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "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-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": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "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" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:53:08 +0000 (0:00:01.854) 0:01:01.426 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:53:08 +0000 (0:00:00.081) 0:01:01.507 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:53:08 +0000 (0:00:00.022) 0:01:01.529 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:53:08 +0000 (0:00:00.534) 0:01:02.064 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:53:08 +0000 (0:00:00.035) 0:01:02.099 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:53:08 +0000 (0:00:00.019) 0:01:02.119 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:53:08 +0000 (0:00:00.073) 0:01:02.192 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:53:09 +0000 (0:00:00.073) 0:01:02.266 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:53:09 +0000 (0:00:00.036) 0:01:02.303 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:53:09 +0000 (0:00:00.035) 0:01:02.338 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:53:09 +0000 (0:00:00.024) 0:01:02.363 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:53:09 +0000 (0:00:00.059) 0:01:02.422 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:53:09 +0000 (0:00:00.023) 0:01:02.446 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:53:09 +0000 (0:00:00.463) 0:01:02.910 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:53:09 +0000 (0:00:00.022) 0:01:02.932 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:19 Thursday 21 July 2022 16:53:10 +0000 (0:00:00.950) 0:01:03.883 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:26 Thursday 21 July 2022 16:53:10 +0000 (0:00:00.033) 0:01:03.916 ********* included: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml for /cache/rhel-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:2 Thursday 21 July 2022 16:53:10 +0000 (0:00:00.035) 0:01:03.952 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "disks": [ "nvme0n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:9 Thursday 21 July 2022 16:53:15 +0000 (0:00:04.560) 0:01:08.513 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "unused_disks": [ "nvme0n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:14 Thursday 21 July 2022 16:53:15 +0000 (0:00:00.037) 0:01:08.550 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:19 Thursday 21 July 2022 16:53:15 +0000 (0:00:00.040) 0:01:08.591 ********* ok: [/cache/rhel-8.qcow2] => { "unused_disks": [ "nvme0n1" ] } TASK [Test creating ext4 filesystem with valid parameter "-Fb 4096"] *********** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:31 Thursday 21 July 2022 16:53:15 +0000 (0:00:00.034) 0:01:08.625 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:53:15 +0000 (0:00:00.040) 0:01:08.665 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:53:15 +0000 (0:00:00.033) 0:01:08.698 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.569) 0:01:09.268 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.099) 0:01:09.367 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.093) 0:01:09.461 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.032) 0:01:09.494 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.047) 0:01:09.541 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.020) 0:01:09.561 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.027) 0:01:09.589 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 4096", "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.038) 0:01:09.628 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.035) 0:01:09.663 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.028) 0:01:09.692 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.027) 0:01:09.720 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.026) 0:01:09.746 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.032) 0:01:09.778 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.057) 0:01:09.836 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:53:16 +0000 (0:00:00.021) 0:01:09.857 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:53:18 +0000 (0:00:01.783) 0:01:11.640 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:53:18 +0000 (0:00:00.036) 0:01:11.677 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:53:18 +0000 (0:00:00.021) 0:01:11.699 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:53:18 +0000 (0:00:00.039) 0:01:11.738 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:53:18 +0000 (0:00:00.039) 0:01:11.777 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:53:18 +0000 (0:00:00.038) 0:01:11.816 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:53:18 +0000 (0:00:00.037) 0:01:11.853 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:53:19 +0000 (0:00:00.886) 0:01:12.740 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', '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": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:53:20 +0000 (0:00:00.610) 0:01:13.350 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:53:20 +0000 (0:00:00.632) 0:01:13.982 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:53:21 +0000 (0:00:00.393) 0:01:14.375 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:53:21 +0000 (0:00:00.055) 0:01:14.430 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:46 Thursday 21 July 2022 16:53:22 +0000 (0:00:00.959) 0:01:15.390 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:53:22 +0000 (0:00:00.040) 0:01:15.430 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:53:22 +0000 (0:00:00.047) 0:01:15.478 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:53:22 +0000 (0:00:00.033) 0:01:15.511 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "fcc8ead1-e8c2-4c4f-ae0b-4ea72c922731" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "UtW8sM-B0Dx-F6bv-j5Zd-ksla-Uu6m-dowj7P" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-51-54-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:53:22 +0000 (0:00:00.494) 0:01:16.006 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002818", "end": "2022-07-21 12:53:23.343133", "rc": 0, "start": "2022-07-21 12:53:23.340315" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:53:23 +0000 (0:00:00.515) 0:01:16.522 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002360", "end": "2022-07-21 12:53:23.707135", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:53:23.704775" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:53:23 +0000 (0:00:00.362) 0:01:16.885 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['nvme0n1'], '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': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:53:23 +0000 (0:00:00.061) 0:01:16.947 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:53:23 +0000 (0:00:00.065) 0:01:17.012 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:53:23 +0000 (0:00:00.050) 0:01:17.062 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:53:23 +0000 (0:00:00.082) 0:01:17.145 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.533) 0:01:17.678 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.109) 0:01:17.787 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.058) 0:01:17.846 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.057) 0:01:17.903 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.040) 0:01:17.943 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.050) 0:01:17.993 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.024) 0:01:18.018 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.043) 0:01:18.062 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.045) 0:01:18.107 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.025) 0:01:18.132 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.023) 0:01:18.156 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.026) 0:01:18.183 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.024) 0:01:18.207 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.025) 0:01:18.233 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:53:24 +0000 (0:00:00.024) 0:01:18.257 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.025) 0:01:18.283 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.032) 0:01:18.315 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.042) 0:01:18.358 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.043) 0:01:18.401 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.026) 0:01:18.428 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.029) 0:01:18.458 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.027) 0:01:18.485 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.044) 0:01:18.529 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.044) 0:01:18.574 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.023) 0:01:18.597 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.023) 0:01:18.621 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.023) 0:01:18.644 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.021) 0:01:18.666 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.046) 0:01:18.712 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.050) 0:01:18.762 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.029) 0:01:18.792 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.041) 0:01:18.833 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.047) 0:01:18.881 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.102) 0:01:18.983 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.042) 0:01:19.026 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.069) 0:01:19.096 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.035) 0:01:19.131 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.037) 0:01:19.169 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.036) 0:01:19.205 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:53:25 +0000 (0:00:00.048) 0:01:19.253 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.046) 0:01:19.300 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.025) 0:01:19.325 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.024) 0:01:19.349 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.022) 0:01:19.372 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.023) 0:01:19.395 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.024) 0:01:19.420 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.024) 0:01:19.445 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.024) 0:01:19.469 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.035) 0:01:19.504 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.035) 0:01:19.540 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.043) 0:01:19.583 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.046) 0:01:19.630 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.083) 0:01:19.714 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.042) 0:01:19.757 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "fcc8ead1-e8c2-4c4f-ae0b-4ea72c922731" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "fcc8ead1-e8c2-4c4f-ae0b-4ea72c922731" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.056) 0:01:19.813 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.047) 0:01:19.860 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.049) 0:01:19.909 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.054) 0:01:19.964 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.026) 0:01:19.990 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.026) 0:01:20.016 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.024) 0:01:20.040 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.033) 0:01:20.074 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.056) 0:01:20.131 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.050) 0:01:20.181 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:53:26 +0000 (0:00:00.056) 0:01:20.237 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:53:27 +0000 (0:00:00.034) 0:01:20.272 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:53:27 +0000 (0:00:00.064) 0:01:20.336 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:53:27 +0000 (0:00:00.095) 0:01:20.431 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:53:27 +0000 (0:00:00.037) 0:01:20.469 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658422398.3997917, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658422398.3997917, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 73563, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658422398.3997917, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:53:27 +0000 (0:00:00.362) 0:01:20.831 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:53:27 +0000 (0:00:00.036) 0:01:20.868 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:53:27 +0000 (0:00:00.036) 0:01:20.904 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:53:27 +0000 (0:00:00.032) 0:01:20.936 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:53:27 +0000 (0:00:00.021) 0:01:20.958 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:53:27 +0000 (0:00:00.035) 0:01:20.993 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:53:27 +0000 (0:00:00.022) 0:01:21.015 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-2.3.7-2.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:53:29 +0000 (0:00:01.796) 0:01:22.811 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.023) 0:01:22.835 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.022) 0:01:22.857 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.053) 0:01:22.911 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.024) 0:01:22.936 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.021) 0:01:22.958 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.021) 0:01:22.979 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.021) 0:01:23.001 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.022) 0:01:23.023 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.046) 0:01:23.070 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.049) 0:01:23.119 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.040) 0:01:23.160 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.037) 0:01:23.197 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:53:29 +0000 (0:00:00.036) 0:01:23.234 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:53:30 +0000 (0:00:00.034) 0:01:23.268 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:53:30 +0000 (0:00:00.042) 0:01:23.311 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:53:30 +0000 (0:00:00.037) 0:01:23.348 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:53:30 +0000 (0:00:00.036) 0:01:23.384 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:53:30 +0000 (0:00:00.036) 0:01:23.421 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:53:30 +0000 (0:00:00.041) 0:01:23.462 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:53:30 +0000 (0:00:00.037) 0:01:23.499 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:53:30 +0000 (0:00:00.037) 0:01:23.536 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:53:30 +0000 (0:00:00.538) 0:01:24.075 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:53:31 +0000 (0:00:00.455) 0:01:24.530 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:53:31 +0000 (0:00:00.081) 0:01:24.612 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:53:31 +0000 (0:00:00.036) 0:01:24.648 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:53:31 +0000 (0:00:00.039) 0:01:24.687 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:53:31 +0000 (0:00:00.038) 0:01:24.726 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:53:31 +0000 (0:00:00.035) 0:01:24.761 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:53:31 +0000 (0:00:00.035) 0:01:24.796 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:53:31 +0000 (0:00:00.036) 0:01:24.833 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:53:31 +0000 (0:00:00.043) 0:01:24.877 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:53:31 +0000 (0:00:00.042) 0:01:24.919 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:53:31 +0000 (0:00:00.055) 0:01:24.975 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.049676", "end": "2022-07-21 12:53:32.230298", "rc": 0, "start": "2022-07-21 12:53:32.180622" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.436) 0:01:25.411 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.051) 0:01:25.463 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.052) 0:01:25.515 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.041) 0:01:25.557 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.038) 0:01:25.595 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.040) 0:01:25.636 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.042) 0:01:25.678 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.042) 0:01:25.721 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.021) 0:01:25.743 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:48 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.033) 0:01:25.776 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.047) 0:01:25.823 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:53:32 +0000 (0:00:00.032) 0:01:25.856 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.527) 0:01:26.383 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.063) 0:01:26.447 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.031) 0:01:26.479 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.068) 0:01:26.548 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.079) 0:01:26.627 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.022) 0:01:26.649 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.031) 0:01:26.680 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "state": "absent", "type": "lvm" } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.040) 0:01:26.721 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.036) 0:01:26.757 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.028) 0:01:26.786 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.028) 0:01:26.815 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.029) 0:01:26.844 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.028) 0:01:26.872 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.057) 0:01:26.930 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:53:33 +0000 (0:00:00.022) 0:01:26.952 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:53:35 +0000 (0:00:01.821) 0:01:28.774 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:53:35 +0000 (0:00:00.038) 0:01:28.813 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:53:35 +0000 (0:00:00.022) 0:01:28.836 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:53:35 +0000 (0:00:00.040) 0:01:28.877 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:53:35 +0000 (0:00:00.043) 0:01:28.921 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:53:35 +0000 (0:00:00.036) 0:01:28.957 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', '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": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:53:36 +0000 (0:00:00.422) 0:01:29.380 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:53:36 +0000 (0:00:00.648) 0:01:30.029 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:53:36 +0000 (0:00:00.038) 0:01:30.067 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:53:37 +0000 (0:00:00.636) 0:01:30.704 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:53:37 +0000 (0:00:00.406) 0:01:31.110 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:53:37 +0000 (0:00:00.053) 0:01:31.164 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:58 Thursday 21 July 2022 16:53:38 +0000 (0:00:00.962) 0:01:32.127 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:53:38 +0000 (0:00:00.042) 0:01:32.170 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:53:38 +0000 (0:00:00.054) 0:01:32.224 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:53:38 +0000 (0:00:00.035) 0:01:32.260 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-51-54-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:53:39 +0000 (0:00:00.384) 0:01:32.644 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002628", "end": "2022-07-21 12:53:39.840263", "rc": 0, "start": "2022-07-21 12:53:39.837635" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:53:39 +0000 (0:00:00.377) 0:01:33.021 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003709", "end": "2022-07-21 12:53:40.224763", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:53:40.221054" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.385) 0:01:33.407 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['nvme0n1'], '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': 'absent', 'type': 'lvm', 'volumes': [], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.055) 0:01:33.462 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.032) 0:01:33.495 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.046) 0:01:33.542 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.050) 0:01:33.592 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.021) 0:01:33.614 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.048) 0:01:33.662 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.076) 0:01:33.739 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.048) 0:01:33.787 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.035) 0:01:33.823 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.085) 0:01:33.908 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.022) 0:01:33.931 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.021) 0:01:33.952 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.039) 0:01:33.992 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.023) 0:01:34.016 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.050) 0:01:34.066 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.023) 0:01:34.089 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.022) 0:01:34.112 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.023) 0:01:34.135 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.022) 0:01:34.158 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.022) 0:01:34.180 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.032) 0:01:34.212 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:53:40 +0000 (0:00:00.042) 0:01:34.255 ********* TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.021) 0:01:34.277 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.043) 0:01:34.321 ********* TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.022) 0:01:34.344 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.045) 0:01:34.389 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.051) 0:01:34.441 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.022) 0:01:34.464 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.021) 0:01:34.486 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.036) 0:01:34.522 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.049) 0:01:34.572 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.022) 0:01:34.595 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.034) 0:01:34.630 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.022) 0:01:34.653 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.022) 0:01:34.675 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create ext4 filesystem with invalid parameter "-Fb 512"] ********** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:62 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.034) 0:01:34.709 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.037) 0:01:34.747 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:53:41 +0000 (0:00:00.033) 0:01:34.781 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.537) 0:01:35.318 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.064) 0:01:35.383 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.034) 0:01:35.417 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.070) 0:01:35.488 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.081) 0:01:35.569 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.020) 0:01:35.590 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.027) 0:01:35.617 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 512", "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.049) 0:01:35.667 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.039) 0:01:35.706 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.027) 0:01:35.734 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.039) 0:01:35.773 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.033) 0:01:35.806 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.029) 0:01:35.836 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.058) 0:01:35.895 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:53:42 +0000 (0:00:00.023) 0:01:35.919 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [], "volumes": [] } MSG: Failed to commit changes to disk: (FSError('format failed: 1',), '/dev/mapper/foo-test1') TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 16:53:44 +0000 (0:00:01.577) 0:01:37.497 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': ['dosfstools', 'xfsprogs', 'e2fsprogs', 'lvm2'], 'failed': True, 'msg': "Failed to commit changes to disk: (FSError('format failed: 1',), '/dev/mapper/foo-test1')", 'invocation': {'module_args': {'pools': [{'disks': ['nvme0n1'], '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': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 512', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], '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': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:53:44 +0000 (0:00:00.041) 0:01:37.538 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:82 Thursday 21 July 2022 16:53:44 +0000 (0:00:00.020) 0:01:37.559 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when creating ext4 filesystem with invalid parameter "-Fb 512"] *** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:88 Thursday 21 July 2022 16:53:44 +0000 (0:00:00.054) 0:01:37.614 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:95 Thursday 21 July 2022 16:53:44 +0000 (0:00:00.051) 0:01:37.665 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:53:44 +0000 (0:00:00.032) 0:01:37.698 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:53:44 +0000 (0:00:00.032) 0:01:37.731 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.531) 0:01:38.263 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.061) 0:01:38.324 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.069) 0:01:38.394 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.037) 0:01:38.431 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.047) 0:01:38.479 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.021) 0:01:38.501 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.029) 0:01:38.530 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "state": "absent", "type": "lvm" } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.033) 0:01:38.564 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.063) 0:01:38.627 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.031) 0:01:38.658 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.072) 0:01:38.730 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.029) 0:01:38.760 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.028) 0:01:38.788 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.058) 0:01:38.847 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:53:45 +0000 (0:00:00.022) 0:01:38.869 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:53:47 +0000 (0:00:01.627) 0:01:40.497 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:53:47 +0000 (0:00:00.038) 0:01:40.536 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:53:47 +0000 (0:00:00.022) 0:01:40.559 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:53:47 +0000 (0:00:00.038) 0:01:40.597 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:53:47 +0000 (0:00:00.038) 0:01:40.636 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:53:47 +0000 (0:00:00.039) 0:01:40.675 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:53:47 +0000 (0:00:00.035) 0:01:40.711 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:53:47 +0000 (0:00:00.021) 0:01:40.733 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:53:47 +0000 (0:00:00.032) 0:01:40.765 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:53:47 +0000 (0:00:00.023) 0:01:40.788 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:53:47 +0000 (0:00:00.360) 0:01:41.149 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:53:47 +0000 (0:00:00.023) 0:01:41.172 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Create one LVM logical volume with "4g" under one volume group] ********** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:105 Thursday 21 July 2022 16:53:48 +0000 (0:00:00.936) 0:01:42.108 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:53:48 +0000 (0:00:00.039) 0:01:42.148 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:53:48 +0000 (0:00:00.035) 0:01:42.183 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.556) 0:01:42.739 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.061) 0:01:42.801 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.036) 0:01:42.838 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.036) 0:01:42.874 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.059) 0:01:42.934 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.022) 0:01:42.956 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.029) 0:01:42.986 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.041) 0:01:43.028 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.038) 0:01:43.066 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.030) 0:01:43.097 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.029) 0:01:43.126 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.030) 0:01:43.156 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.025) 0:01:43.182 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:53:49 +0000 (0:00:00.056) 0:01:43.239 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:53:50 +0000 (0:00:00.024) 0:01:43.263 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:53:51 +0000 (0:00:01.595) 0:01:44.859 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:53:51 +0000 (0:00:00.042) 0:01:44.901 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:53:51 +0000 (0:00:00.024) 0:01:44.926 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:53:51 +0000 (0:00:00.043) 0:01:44.969 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:53:51 +0000 (0:00:00.042) 0:01:45.012 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:53:51 +0000 (0:00:00.039) 0:01:45.051 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:53:51 +0000 (0:00:00.039) 0:01:45.091 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:53:52 +0000 (0:00:00.609) 0:01:45.700 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', '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": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:53:52 +0000 (0:00:00.429) 0:01:46.129 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:53:53 +0000 (0:00:00.687) 0:01:46.816 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:53:53 +0000 (0:00:00.378) 0:01:47.195 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:53:53 +0000 (0:00:00.023) 0:01:47.219 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:119 Thursday 21 July 2022 16:53:54 +0000 (0:00:01.017) 0:01:48.237 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:53:55 +0000 (0:00:00.039) 0:01:48.276 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:53:55 +0000 (0:00:00.053) 0:01:48.330 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:53:55 +0000 (0:00:00.035) 0:01:48.365 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "1971f8e8-5389-47b7-9a63-2b95c09458b7" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "Wo6Fb9-Q44q-AvaB-OD3k-TyuY-UH1Y-YsCAa3" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-51-54-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:53:55 +0000 (0:00:00.393) 0:01:48.759 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.003935", "end": "2022-07-21 12:53:56.954836", "rc": 0, "start": "2022-07-21 12:53:55.950901" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:53:56 +0000 (0:00:01.382) 0:01:50.142 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002794", "end": "2022-07-21 12:53:57.351401", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:53:57.348607" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:53:57 +0000 (0:00:00.391) 0:01:50.533 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['nvme0n1'], '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': [{'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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:53:57 +0000 (0:00:00.061) 0:01:50.595 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:53:57 +0000 (0:00:00.033) 0:01:50.628 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:53:57 +0000 (0:00:00.044) 0:01:50.673 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:53:57 +0000 (0:00:00.080) 0:01:50.753 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:53:57 +0000 (0:00:00.365) 0:01:51.119 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:53:57 +0000 (0:00:00.047) 0:01:51.166 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:53:57 +0000 (0:00:00.080) 0:01:51.246 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.078) 0:01:51.325 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.036) 0:01:51.361 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.077) 0:01:51.438 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.053) 0:01:51.492 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.040) 0:01:51.532 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.040) 0:01:51.572 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.023) 0:01:51.595 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.021) 0:01:51.617 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.022) 0:01:51.640 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.021) 0:01:51.662 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.022) 0:01:51.684 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.021) 0:01:51.706 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.021) 0:01:51.728 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.032) 0:01:51.760 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.042) 0:01:51.803 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.040) 0:01:51.843 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.026) 0:01:51.870 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.024) 0:01:51.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.024) 0:01:51.919 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.043) 0:01:51.963 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.040) 0:01:52.003 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.023) 0:01:52.026 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.025) 0:01:52.052 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.023) 0:01:52.076 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.022) 0:01:52.099 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.046) 0:01:52.145 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.050) 0:01:52.196 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:53:58 +0000 (0:00:00.029) 0:01:52.225 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.046) 0:01:52.271 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.049) 0:01:52.321 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.053) 0:01:52.374 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.042) 0:01:52.417 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.038) 0:01:52.456 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.036) 0:01:52.492 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.035) 0:01:52.528 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.031) 0:01:52.560 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.048) 0:01:52.608 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.074) 0:01:52.683 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.025) 0:01:52.709 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.024) 0:01:52.733 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.025) 0:01:52.759 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.024) 0:01:52.784 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.025) 0:01:52.809 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.025) 0:01:52.834 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.026) 0:01:52.861 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.034) 0:01:52.896 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.039) 0:01:52.935 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.044) 0:01:52.979 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.049) 0:01:53.029 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.079) 0:01:53.108 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.041) 0:01:53.150 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "1971f8e8-5389-47b7-9a63-2b95c09458b7" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "1971f8e8-5389-47b7-9a63-2b95c09458b7" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.058) 0:01:53.208 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:53:59 +0000 (0:00:00.051) 0:01:53.260 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.050) 0:01:53.310 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.054) 0:01:53.365 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.025) 0:01:53.390 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.024) 0:01:53.415 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.024) 0:01:53.439 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.038) 0:01:53.477 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.060) 0:01:53.538 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.051) 0:01:53.589 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.052) 0:01:53.642 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.036) 0:01:53.679 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.034) 0:01:53.713 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.037) 0:01:53.751 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.043) 0:01:53.795 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658422431.6227918, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658422431.6227918, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 95214, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658422431.6227918, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:54:00 +0000 (0:00:00.388) 0:01:54.183 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:54:01 +0000 (0:00:00.088) 0:01:54.271 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:54:01 +0000 (0:00:00.125) 0:01:54.397 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:54:01 +0000 (0:00:00.035) 0:01:54.433 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:54:01 +0000 (0:00:00.022) 0:01:54.456 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:54:01 +0000 (0:00:00.041) 0:01:54.497 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:54:01 +0000 (0:00:00.026) 0:01:54.523 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:54:02 +0000 (0:00:01.332) 0:01:55.856 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.025) 0:01:55.881 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.022) 0:01:55.904 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.048) 0:01:55.952 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.024) 0:01:55.977 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.025) 0:01:56.002 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.024) 0:01:56.027 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.024) 0:01:56.052 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.024) 0:01:56.076 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.053) 0:01:56.129 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.048) 0:01:56.178 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.036) 0:01:56.215 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:54:02 +0000 (0:00:00.037) 0:01:56.252 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:54:03 +0000 (0:00:00.041) 0:01:56.294 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:54:03 +0000 (0:00:00.034) 0:01:56.328 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:54:03 +0000 (0:00:00.037) 0:01:56.366 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:54:03 +0000 (0:00:00.036) 0:01:56.402 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:54:03 +0000 (0:00:00.037) 0:01:56.440 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:54:03 +0000 (0:00:00.037) 0:01:56.478 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:54:03 +0000 (0:00:00.035) 0:01:56.514 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:54:03 +0000 (0:00:00.037) 0:01:56.551 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:54:03 +0000 (0:00:00.040) 0:01:56.591 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:54:03 +0000 (0:00:00.374) 0:01:56.966 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:54:04 +0000 (0:00:00.372) 0:01:57.339 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:54:04 +0000 (0:00:00.048) 0:01:57.388 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:54:04 +0000 (0:00:00.033) 0:01:57.422 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:54:04 +0000 (0:00:00.038) 0:01:57.460 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:54:04 +0000 (0:00:00.038) 0:01:57.499 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:54:04 +0000 (0:00:00.041) 0:01:57.540 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:54:04 +0000 (0:00:00.037) 0:01:57.577 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:54:04 +0000 (0:00:00.041) 0:01:57.618 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:54:04 +0000 (0:00:00.075) 0:01:57.694 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:54:04 +0000 (0:00:00.036) 0:01:57.731 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:54:04 +0000 (0:00:00.088) 0:01:57.819 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035124", "end": "2022-07-21 12:54:05.103083", "rc": 0, "start": "2022-07-21 12:54:05.067959" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.464) 0:01:58.284 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.053) 0:01:58.337 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.053) 0:01:58.391 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.039) 0:01:58.431 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.038) 0:01:58.470 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.048) 0:01:58.518 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.047) 0:01:58.566 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.038) 0:01:58.604 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.020) 0:01:58.625 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Resizing with one large value which large than disk's size] ************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:123 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.035) 0:01:58.661 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.041) 0:01:58.703 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:54:05 +0000 (0:00:00.035) 0:01:58.738 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.531) 0:01:59.270 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.065) 0:01:59.335 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.032) 0:01:59.367 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.035) 0:01:59.403 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.048) 0:01:59.452 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.021) 0:01:59.474 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.028) 0:01:59.502 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.054) 0:01:59.557 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.036) 0:01:59.593 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.027) 0:01:59.621 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.027) 0:01:59.649 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.029) 0:01:59.678 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.029) 0:01:59.707 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.111) 0:01:59.819 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:54:06 +0000 (0:00:00.024) 0:01:59.843 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 16:54:07 +0000 (0:00:01.345) 0:02:01.189 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'disks': ['nvme0n1'], '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': [{'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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}], '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': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.079) 0:02:01.269 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:142 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.057) 0:02:01.326 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when resizing with large size] ************************* task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:148 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.039) 0:02:01.365 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:155 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.051) 0:02:01.417 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.037) 0:02:01.455 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.037) 0:02:01.492 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.531) 0:02:02.024 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.066) 0:02:02.091 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.043) 0:02:02.134 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.038) 0:02:02.172 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.051) 0:02:02.224 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:54:08 +0000 (0:00:00.021) 0:02:02.246 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:54:09 +0000 (0:00:00.027) 0:02:02.273 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "state": "absent", "type": "lvm" } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:54:09 +0000 (0:00:00.040) 0:02:02.314 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:54:09 +0000 (0:00:00.040) 0:02:02.354 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:54:09 +0000 (0:00:00.030) 0:02:02.384 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:54:09 +0000 (0:00:00.029) 0:02:02.414 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:54:09 +0000 (0:00:00.030) 0:02:02.445 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:54:09 +0000 (0:00:00.030) 0:02:02.475 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:54:09 +0000 (0:00:00.062) 0:02:02.537 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:54:09 +0000 (0:00:00.023) 0:02:02.561 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:54:11 +0000 (0:00:01.724) 0:02:04.285 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:54:11 +0000 (0:00:00.041) 0:02:04.326 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:54:11 +0000 (0:00:00.022) 0:02:04.349 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:54:11 +0000 (0:00:00.041) 0:02:04.391 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:54:11 +0000 (0:00:00.039) 0:02:04.430 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:54:11 +0000 (0:00:00.074) 0:02:04.505 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', '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": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:54:11 +0000 (0:00:00.389) 0:02:04.894 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:54:12 +0000 (0:00:00.635) 0:02:05.529 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:54:12 +0000 (0:00:00.040) 0:02:05.570 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:54:12 +0000 (0:00:00.638) 0:02:06.209 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:54:13 +0000 (0:00:00.427) 0:02:06.636 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:54:13 +0000 (0:00:00.023) 0:02:06.659 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Create one partition on one disk] **************************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:165 Thursday 21 July 2022 16:54:14 +0000 (0:00:01.024) 0:02:07.684 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:54:14 +0000 (0:00:00.042) 0:02:07.726 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:54:14 +0000 (0:00:00.035) 0:02:07.762 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.538) 0:02:08.301 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.068) 0:02:08.369 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.035) 0:02:08.405 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.036) 0:02:08.442 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.047) 0:02:08.490 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.021) 0:02:08.511 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.031) 0:02:08.543 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "type": "partition", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "partition" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.034) 0:02:08.578 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.033) 0:02:08.612 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.026) 0:02:08.638 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.030) 0:02:08.668 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.025) 0:02:08.694 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.025) 0:02:08.720 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.060) 0:02:08.780 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:54:15 +0000 (0:00:00.020) 0:02:08.801 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme0n1p1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/nvme0n1p1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:54:17 +0000 (0:00:01.682) 0:02:10.483 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:54:17 +0000 (0:00:00.039) 0:02:10.522 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:54:17 +0000 (0:00:00.023) 0:02:10.546 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme0n1p1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/nvme0n1p1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:54:17 +0000 (0:00:00.071) 0:02:10.618 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:54:17 +0000 (0:00:00.126) 0:02:10.745 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:54:17 +0000 (0:00:00.038) 0:02:10.783 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:54:17 +0000 (0:00:00.039) 0:02:10.823 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:54:18 +0000 (0:00:00.635) 0:02:11.458 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=6ce66ea6-f394-48df-9ded-c29daefb1028', '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=6ce66ea6-f394-48df-9ded-c29daefb1028", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:54:18 +0000 (0:00:00.397) 0:02:11.856 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:54:19 +0000 (0:00:00.602) 0:02:12.459 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:54:19 +0000 (0:00:00.367) 0:02:12.827 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:54:19 +0000 (0:00:00.023) 0:02:12.851 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:179 Thursday 21 July 2022 16:54:20 +0000 (0:00:00.943) 0:02:13.794 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:54:20 +0000 (0:00:00.039) 0:02:13.833 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:54:20 +0000 (0:00:00.052) 0:02:13.885 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:54:20 +0000 (0:00:00.035) 0:02:13.921 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme0n1p1": { "fstype": "ext4", "label": "", "name": "/dev/nvme0n1p1", "size": "10G", "type": "partition", "uuid": "6ce66ea6-f394-48df-9ded-c29daefb1028" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-51-54-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:54:21 +0000 (0:00:00.384) 0:02:14.305 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.003909", "end": "2022-07-21 12:54:22.497655", "rc": 0, "start": "2022-07-21 12:54:21.493746" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=6ce66ea6-f394-48df-9ded-c29daefb1028 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:54:22 +0000 (0:00:01.375) 0:02:15.681 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002387", "end": "2022-07-21 12:54:22.872195", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:54:22.869808" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:54:22 +0000 (0:00:00.371) 0:02:16.053 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['nvme0n1'], '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': [{'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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/nvme0n1p1', '_raw_device': '/dev/nvme0n1p1', '_mount_id': 'UUID=6ce66ea6-f394-48df-9ded-c29daefb1028', '_kernel_device': '/dev/nvme0n1p1', '_raw_kernel_device': '/dev/nvme0n1p1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:54:22 +0000 (0:00:00.060) 0:02:16.113 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:54:22 +0000 (0:00:00.071) 0:02:16.185 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:54:22 +0000 (0:00:00.048) 0:02:16.234 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:54:22 +0000 (0:00:00.024) 0:02:16.258 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.023) 0:02:16.282 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.068) 0:02:16.351 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.024) 0:02:16.375 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.025) 0:02:16.401 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.024) 0:02:16.425 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.025) 0:02:16.450 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.024) 0:02:16.474 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.021) 0:02:16.496 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.043) 0:02:16.540 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.025) 0:02:16.565 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.024) 0:02:16.590 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.025) 0:02:16.616 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.024) 0:02:16.640 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.023) 0:02:16.664 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.025) 0:02:16.690 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.024) 0:02:16.714 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.031) 0:02:16.746 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.042) 0:02:16.788 ********* skipping: [/cache/rhel-8.qcow2] => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/nvme0n1p1', '_raw_device': '/dev/nvme0n1p1', '_mount_id': 'UUID=6ce66ea6-f394-48df-9ded-c29daefb1028', '_kernel_device': '/dev/nvme0n1p1', '_raw_kernel_device': '/dev/nvme0n1p1'}) => { "ansible_loop_var": "storage_test_lvmraid_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_lvmraid_volume": { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.028) 0:02:16.816 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.042) 0:02:16.859 ********* skipping: [/cache/rhel-8.qcow2] => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/nvme0n1p1', '_raw_device': '/dev/nvme0n1p1', '_mount_id': 'UUID=6ce66ea6-f394-48df-9ded-c29daefb1028', '_kernel_device': '/dev/nvme0n1p1', '_raw_kernel_device': '/dev/nvme0n1p1'}) => { "ansible_loop_var": "storage_test_thin_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_thin_volume": { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.026) 0:02:16.886 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.052) 0:02:16.938 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.060) 0:02:16.999 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.023) 0:02:17.022 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.023) 0:02:17.046 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.036) 0:02:17.083 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.050) 0:02:17.133 ********* skipping: [/cache/rhel-8.qcow2] => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/nvme0n1p1', '_raw_device': '/dev/nvme0n1p1', '_mount_id': 'UUID=6ce66ea6-f394-48df-9ded-c29daefb1028', '_kernel_device': '/dev/nvme0n1p1', '_raw_kernel_device': '/dev/nvme0n1p1'}) => { "ansible_loop_var": "storage_test_vdo_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_vdo_volume": { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.029) 0:02:17.163 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.037) 0:02:17.200 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/nvme0n1p1', '_raw_device': '/dev/nvme0n1p1', '_mount_id': 'UUID=6ce66ea6-f394-48df-9ded-c29daefb1028', '_kernel_device': '/dev/nvme0n1p1', '_raw_kernel_device': '/dev/nvme0n1p1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:54:23 +0000 (0:00:00.043) 0:02:17.244 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.047) 0:02:17.291 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.077) 0:02:17.369 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme0n1p1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.081) 0:02:17.450 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2563653, "block_used": 144377, "device": "/dev/nvme0n1p1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10500722688, "uuid": "6ce66ea6-f394-48df-9ded-c29daefb1028" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2563653, "block_used": 144377, "device": "/dev/nvme0n1p1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10500722688, "uuid": "6ce66ea6-f394-48df-9ded-c29daefb1028" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.131) 0:02:17.582 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.058) 0:02:17.641 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.053) 0:02:17.694 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.052) 0:02:17.747 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.023) 0:02:17.770 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.025) 0:02:17.796 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.026) 0:02:17.822 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.036) 0:02:17.858 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.064) 0:02:17.923 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.052) 0:02:17.975 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.051) 0:02:18.027 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.038) 0:02:18.065 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.034) 0:02:18.100 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.047) 0:02:18.147 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:54:24 +0000 (0:00:00.040) 0:02:18.188 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658422457.2297916, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658422457.2297916, "dev": 6, "device_type": 66308, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 113755, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658422457.2297916, "nlink": 1, "path": "/dev/nvme0n1p1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:54:25 +0000 (0:00:00.385) 0:02:18.573 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:54:25 +0000 (0:00:00.040) 0:02:18.614 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:54:25 +0000 (0:00:00.039) 0:02:18.653 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "partition" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:54:25 +0000 (0:00:00.035) 0:02:18.689 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:54:25 +0000 (0:00:00.023) 0:02:18.712 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:54:25 +0000 (0:00:00.039) 0:02:18.752 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:54:25 +0000 (0:00:00.025) 0:02:18.777 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:54:26 +0000 (0:00:01.295) 0:02:20.073 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:54:26 +0000 (0:00:00.023) 0:02:20.097 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:54:26 +0000 (0:00:00.025) 0:02:20.122 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:54:26 +0000 (0:00:00.053) 0:02:20.175 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:54:26 +0000 (0:00:00.028) 0:02:20.203 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:54:26 +0000 (0:00:00.028) 0:02:20.232 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:54:26 +0000 (0:00:00.028) 0:02:20.260 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.025) 0:02:20.286 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.025) 0:02:20.311 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.087) 0:02:20.399 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.049) 0:02:20.449 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.042) 0:02:20.492 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.041) 0:02:20.533 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.089) 0:02:20.623 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.036) 0:02:20.660 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.038) 0:02:20.698 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.036) 0:02:20.735 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.039) 0:02:20.774 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.035) 0:02:20.810 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.034) 0:02:20.845 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.034) 0:02:20.879 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.036) 0:02:20.915 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.026) 0:02:20.942 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.037) 0:02:20.980 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.037) 0:02:21.018 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.040) 0:02:21.059 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.036) 0:02:21.096 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.037) 0:02:21.133 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.037) 0:02:21.170 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.040) 0:02:21.211 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:54:27 +0000 (0:00:00.036) 0:02:21.248 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.036) 0:02:21.284 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.036) 0:02:21.321 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.026) 0:02:21.347 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.026) 0:02:21.373 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.024) 0:02:21.398 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.026) 0:02:21.424 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.026) 0:02:21.451 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.024) 0:02:21.476 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.024) 0:02:21.500 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.024) 0:02:21.524 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.042) 0:02:21.567 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.020) 0:02:21.587 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Test setting up disk volume will remove the partition create above] ****** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:181 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.035) 0:02:21.623 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.047) 0:02:21.671 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.035) 0:02:21.706 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:54:28 +0000 (0:00:00.523) 0:02:22.229 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.144) 0:02:22.374 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.035) 0:02:22.409 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.037) 0:02:22.446 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.050) 0:02:22.497 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.023) 0:02:22.520 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.029) 0:02:22.550 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.036) 0:02:22.586 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme0n1" ], "fs_create_options": "-F", "fs_type": "ext4", "mount_options": "rw,noatime,defaults", "mount_point": "/opt/test1", "name": "foo", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.037) 0:02:22.624 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.026) 0:02:22.650 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.027) 0:02:22.678 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.029) 0:02:22.707 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.036) 0:02:22.744 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.066) 0:02:22.810 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:54:29 +0000 (0:00:00.023) 0:02:22.833 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme0n1p1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:54:31 +0000 (0:00:01.582) 0:02:24.415 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:54:31 +0000 (0:00:00.039) 0:02:24.455 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:54:31 +0000 (0:00:00.022) 0:02:24.477 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme0n1p1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:54:31 +0000 (0:00:00.042) 0:02:24.520 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:54:31 +0000 (0:00:00.041) 0:02:24.561 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:54:31 +0000 (0:00:00.037) 0:02:24.599 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=6ce66ea6-f394-48df-9ded-c29daefb1028', '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=6ce66ea6-f394-48df-9ded-c29daefb1028", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=6ce66ea6-f394-48df-9ded-c29daefb1028" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:54:31 +0000 (0:00:00.428) 0:02:25.028 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:54:32 +0000 (0:00:00.643) 0:02:25.672 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=a08e5043-efb3-4823-a4ab-554292d658c0', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'rw,noatime,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": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "state": "mounted" }, "name": "/opt/test1", "opts": "rw,noatime,defaults", "passno": "0", "src": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:54:32 +0000 (0:00:00.416) 0:02:26.088 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:54:33 +0000 (0:00:00.614) 0:02:26.702 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:54:33 +0000 (0:00:00.382) 0:02:27.085 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:54:33 +0000 (0:00:00.024) 0:02:27.109 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:194 Thursday 21 July 2022 16:54:34 +0000 (0:00:01.052) 0:02:28.162 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:54:34 +0000 (0:00:00.040) 0:02:28.203 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:54:34 +0000 (0:00:00.039) 0:02:28.243 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:54:35 +0000 (0:00:00.052) 0:02:28.296 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "ext4", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "a08e5043-efb3-4823-a4ab-554292d658c0" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-51-54-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:54:35 +0000 (0:00:00.384) 0:02:28.681 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004174", "end": "2022-07-21 12:54:36.881632", "rc": 0, "start": "2022-07-21 12:54:35.877458" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=a08e5043-efb3-4823-a4ab-554292d658c0 /opt/test1 ext4 rw,noatime,defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:54:36 +0000 (0:00:01.386) 0:02:30.067 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003943", "end": "2022-07-21 12:54:37.288444", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:54:37.284501" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.406) 0:02:30.473 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.021) 0:02:30.495 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-F', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'rw,noatime,defaults', 'mount_point': '/opt/test1', 'name': 'foo', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme0n1'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/nvme0n1', '_raw_device': '/dev/nvme0n1', '_mount_id': 'UUID=a08e5043-efb3-4823-a4ab-554292d658c0', '_kernel_device': '/dev/nvme0n1', '_raw_kernel_device': '/dev/nvme0n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.059) 0:02:30.554 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.049) 0:02:30.604 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.077) 0:02:30.681 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme0n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.039) 0:02:30.721 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2563909, "block_used": 144390, "device": "/dev/nvme0n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10501771264, "uuid": "a08e5043-efb3-4823-a4ab-554292d658c0" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2563909, "block_used": 144390, "device": "/dev/nvme0n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10501771264, "uuid": "a08e5043-efb3-4823-a4ab-554292d658c0" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.052) 0:02:30.773 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.048) 0:02:30.821 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.052) 0:02:30.874 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.057) 0:02:30.932 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.022) 0:02:30.955 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.022) 0:02:30.978 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.024) 0:02:31.002 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.072) 0:02:31.074 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=a08e5043-efb3-4823-a4ab-554292d658c0 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 rw,noatime,defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:54:37 +0000 (0:00:00.099) 0:02:31.174 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.096) 0:02:31.270 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.104) 0:02:31.374 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.099) 0:02:31.474 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.036) 0:02:31.511 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.041) 0:02:31.552 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.043) 0:02:31.596 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658422471.1717918, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658422471.1717918, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 16314, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658422471.1717918, "nlink": 1, "path": "/dev/nvme0n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.386) 0:02:31.982 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.038) 0:02:32.021 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.039) 0:02:32.061 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.038) 0:02:32.099 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.023) 0:02:32.123 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.039) 0:02:32.162 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:54:38 +0000 (0:00:00.025) 0:02:32.188 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:54:40 +0000 (0:00:01.335) 0:02:33.523 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.025) 0:02:33.549 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.024) 0:02:33.573 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.051) 0:02:33.625 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.024) 0:02:33.649 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.024) 0:02:33.674 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.026) 0:02:33.700 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.025) 0:02:33.725 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.024) 0:02:33.749 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.060) 0:02:33.810 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.052) 0:02:33.863 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.037) 0:02:33.901 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.037) 0:02:33.939 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.037) 0:02:33.976 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.038) 0:02:34.014 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.038) 0:02:34.053 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.037) 0:02:34.091 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.037) 0:02:34.128 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.041) 0:02:34.169 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.038) 0:02:34.207 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:54:40 +0000 (0:00:00.037) 0:02:34.244 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.038) 0:02:34.283 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.025) 0:02:34.308 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.037) 0:02:34.346 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.037) 0:02:34.384 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.037) 0:02:34.422 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.040) 0:02:34.463 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.035) 0:02:34.498 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.033) 0:02:34.532 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.036) 0:02:34.568 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.040) 0:02:34.609 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.036) 0:02:34.646 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.074) 0:02:34.721 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.025) 0:02:34.746 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.025) 0:02:34.772 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.024) 0:02:34.797 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.024) 0:02:34.821 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.026) 0:02:34.848 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.066) 0:02:34.915 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.028) 0:02:34.943 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.026) 0:02:34.970 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.039) 0:02:35.010 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the disk volume created above] ************************************ task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:198 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.038) 0:02:35.048 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.052) 0:02:35.101 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:54:41 +0000 (0:00:00.036) 0:02:35.138 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.526) 0:02:35.664 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.064) 0:02:35.729 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.038) 0:02:35.767 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.037) 0:02:35.805 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.048) 0:02:35.853 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.022) 0:02:35.875 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.029) 0:02:35.904 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.038) 0:02:35.943 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme0n1" ], "name": "foo", "state": "absent", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.040) 0:02:35.983 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.033) 0:02:36.017 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.028) 0:02:36.045 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.028) 0:02:36.074 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.028) 0:02:36.102 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.058) 0:02:36.161 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:54:42 +0000 (0:00:00.023) 0:02:36.184 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_mount_id": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "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": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:54:44 +0000 (0:00:01.385) 0:02:37.569 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:54:44 +0000 (0:00:00.049) 0:02:37.619 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:54:44 +0000 (0:00:00.024) 0:02:37.643 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_mount_id": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "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": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:54:44 +0000 (0:00:00.085) 0:02:37.728 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:54:44 +0000 (0:00:00.038) 0:02:37.767 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_mount_id": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "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": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:54:44 +0000 (0:00:00.085) 0:02:37.853 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=a08e5043-efb3-4823-a4ab-554292d658c0', '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=a08e5043-efb3-4823-a4ab-554292d658c0", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=a08e5043-efb3-4823-a4ab-554292d658c0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:54:45 +0000 (0:00:00.494) 0:02:38.347 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:54:45 +0000 (0:00:00.709) 0:02:39.056 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:54:45 +0000 (0:00:00.041) 0:02:39.098 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:54:46 +0000 (0:00:00.611) 0:02:39.709 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:54:46 +0000 (0:00:00.378) 0:02:40.087 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:54:46 +0000 (0:00:00.023) 0:02:40.111 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Try to mount swap filesystem to "/opt/test1"] **************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:210 Thursday 21 July 2022 16:54:47 +0000 (0:00:00.970) 0:02:41.081 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:54:47 +0000 (0:00:00.040) 0:02:41.121 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:54:47 +0000 (0:00:00.036) 0:02:41.158 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.532) 0:02:41.691 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.059) 0:02:41.751 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.036) 0:02:41.787 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.037) 0:02:41.825 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.047) 0:02:41.873 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.021) 0:02:41.895 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.029) 0:02:41.924 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.038) 0:02:41.963 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme0n1" ], "fs_type": "swap", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.076) 0:02:42.039 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.033) 0:02:42.073 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.029) 0:02:42.103 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.028) 0:02:42.131 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.027) 0:02:42.159 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.058) 0:02:42.217 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:54:48 +0000 (0:00:00.022) 0:02:42.239 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' has a mount point but no mountable file system TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 16:54:50 +0000 (0:00:01.163) 0:02:43.403 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' has a mount point but no mountable file system", '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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme0n1'], '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': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:54:50 +0000 (0:00:00.091) 0:02:43.495 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:226 Thursday 21 July 2022 16:54:50 +0000 (0:00:00.057) 0:02:43.553 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when mount swap filesystem to "/opt/test1"] ************ task path: /tmp/tmpw6dixrb5/tests/tests_misc.yml:232 Thursday 21 July 2022 16:54:50 +0000 (0:00:00.038) 0:02:43.592 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=483 changed=19 unreachable=0 failed=3 skipped=367 rescued=3 ignored=0 Thursday 21 July 2022 16:54:50 +0000 (0:00:00.062) 0:02:43.655 ********* =============================================================================== linux-system-roles.storage : make sure blivet is available ------------- 51.55s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Find unused disks in the system ----------------------------------------- 4.56s /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:2 ---------------------------------- linux-system-roles.storage : get service facts -------------------------- 1.85s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Gathering Facts --------------------------------------------------------- 1.84s /tmp/tmpw6dixrb5/tests/tests_misc.yml:2 --------------------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.82s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.80s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.78s /tmp/tmpw6dixrb5/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.72s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.68s /tmp/tmpw6dixrb5/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.63s /tmp/tmpw6dixrb5/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.60s /tmp/tmpw6dixrb5/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.58s /tmp/tmpw6dixrb5/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.58s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 set up internal repositories -------------------------------------------- 1.39s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 ----------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.39s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/fstab file for volume existence --------------------------- 1.38s /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 ----------------------------- Read the /etc/fstab file for volume existence --------------------------- 1.38s /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 ----------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.35s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.34s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- 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/tmpj2uhjp4w 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 21 July 2022 22:06:47 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 22:06:49 +0000 (0:00:01.371) 0:00:01.389 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.37s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_misc_nvme_generated.yml **************************************** 2 plays in /tmp/tmpcv9gbk7i/tests/storage/tests_misc_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc_nvme_generated.yml:3 Thursday 21 July 2022 22:06:49 +0000 (0:00:00.047) 0:00:01.437 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc_nvme_generated.yml:7 Thursday 21 July 2022 22:06:50 +0000 (0:00:01.204) 0:00:02.642 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:2 Thursday 21 July 2022 22:06:50 +0000 (0:00:00.049) 0:00:02.692 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:15 Thursday 21 July 2022 22:06:51 +0000 (0:00:01.398) 0:00:04.090 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:06:51 +0000 (0:00:00.039) 0:00:04.130 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:06:51 +0000 (0:00:00.032) 0:00:04.163 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:06:53 +0000 (0:00:01.277) 0:00:05.440 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:06:53 +0000 (0:00:00.054) 0:00:05.494 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:06:53 +0000 (0:00:00.029) 0:00:05.523 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:06:53 +0000 (0:00:00.031) 0:00:05.555 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:06:53 +0000 (0:00:00.061) 0:00:05.616 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:06:53 +0000 (0:00:00.019) 0:00:05.636 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-22.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-22.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-6.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: python3-blivet-1:3.4.0-9.el8.noarch", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: blivet-data-1:3.4.0-9.el8.noarch", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: lvm2-8:2.03.14-3.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-3.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: nspr-4.32.0-1.el8_4.x86_64", "Installed: nss-3.67.0-7.el8_5.x86_64", "Installed: mdadm-4.2-2.el8.x86_64", "Installed: nss-softokn-3.67.0-7.el8_5.x86_64", "Installed: nss-softokn-freebl-3.67.0-7.el8_5.x86_64", "Installed: nss-sysinit-3.67.0-7.el8_5.x86_64", "Installed: nss-util-3.67.0-7.el8_5.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: ndctl-71.1-3.el8.x86_64", "Installed: ndctl-libs-71.1-3.el8.x86_64", "Installed: daxctl-libs-71.1-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64" ] } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:07:44 +0000 (0:00:51.203) 0:00:56.839 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:07:44 +0000 (0:00:00.036) 0:00:56.876 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:07:44 +0000 (0:00:00.035) 0:00:56.911 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:07:45 +0000 (0:00:00.707) 0:00:57.618 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 22:07:45 +0000 (0:00:00.043) 0:00:57.662 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 22:07:45 +0000 (0:00:00.034) 0:00:57.696 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 22:07:45 +0000 (0:00:00.037) 0:00:57.734 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:07:45 +0000 (0:00:00.031) 0:00:57.766 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:07:46 +0000 (0:00:01.380) 0:00:59.146 ********* ok: [/cache/rhel-8.qcow2] => { "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" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "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" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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": "stopped", "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" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "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" }, "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" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "run-ra8db6c17c64e4216b50876ed54ceb4b7.service": { "name": "run-ra8db6c17c64e4216b50876ed54ceb4b7.service", "source": "systemd", "state": "running", "status": "transient" }, "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" }, "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" }, "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": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "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-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-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "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-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": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "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" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:07:48 +0000 (0:00:01.841) 0:01:00.988 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:07:48 +0000 (0:00:00.093) 0:01:01.082 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:07:48 +0000 (0:00:00.023) 0:01:01.106 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:07:49 +0000 (0:00:00.546) 0:01:01.652 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:07:49 +0000 (0:00:00.036) 0:01:01.689 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:07:49 +0000 (0:00:00.021) 0:01:01.711 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:07:49 +0000 (0:00:00.038) 0:01:01.750 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:07:49 +0000 (0:00:00.039) 0:01:01.789 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:07:49 +0000 (0:00:00.039) 0:01:01.829 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:07:49 +0000 (0:00:00.036) 0:01:01.865 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:07:49 +0000 (0:00:00.024) 0:01:01.890 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:07:49 +0000 (0:00:00.033) 0:01:01.923 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:07:49 +0000 (0:00:00.024) 0:01:01.948 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:07:50 +0000 (0:00:00.456) 0:01:02.404 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:07:50 +0000 (0:00:00.022) 0:01:02.427 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:18 Thursday 21 July 2022 22:07:51 +0000 (0:00:00.977) 0:01:03.405 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:25 Thursday 21 July 2022 22:07:51 +0000 (0:00:00.034) 0:01:03.439 ********* included: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml for /cache/rhel-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 22:07:51 +0000 (0:00:00.037) 0:01:03.477 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "disks": [ "nvme0n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 22:07:51 +0000 (0:00:00.566) 0:01:04.043 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "unused_disks": [ "nvme0n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 22:07:51 +0000 (0:00:00.067) 0:01:04.111 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 22:07:51 +0000 (0:00:00.046) 0:01:04.157 ********* ok: [/cache/rhel-8.qcow2] => { "unused_disks": [ "nvme0n1" ] } TASK [Test creating ext4 filesystem with valid parameter "-Fb 4096"] *********** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:30 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.038) 0:01:04.195 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.041) 0:01:04.237 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.063) 0:01:04.300 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.514) 0:01:04.815 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.060) 0:01:04.875 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.036) 0:01:04.912 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.034) 0:01:04.947 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.055) 0:01:05.002 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.021) 0:01:05.024 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.026) 0:01:05.050 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 4096", "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.036) 0:01:05.087 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.033) 0:01:05.121 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:07:52 +0000 (0:00:00.029) 0:01:05.150 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:07:53 +0000 (0:00:00.029) 0:01:05.179 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:07:53 +0000 (0:00:00.033) 0:01:05.213 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:07:53 +0000 (0:00:00.029) 0:01:05.242 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:07:53 +0000 (0:00:00.058) 0:01:05.300 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:07:53 +0000 (0:00:00.023) 0:01:05.324 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:07:54 +0000 (0:00:01.678) 0:01:07.002 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:07:54 +0000 (0:00:00.037) 0:01:07.040 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:07:54 +0000 (0:00:00.022) 0:01:07.063 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:07:54 +0000 (0:00:00.040) 0:01:07.104 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:07:54 +0000 (0:00:00.067) 0:01:07.171 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:07:55 +0000 (0:00:00.039) 0:01:07.211 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:07:55 +0000 (0:00:00.038) 0:01:07.249 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:07:56 +0000 (0:00:00.941) 0:01:08.191 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', '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": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:07:56 +0000 (0:00:00.604) 0:01:08.795 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:07:57 +0000 (0:00:00.641) 0:01:09.437 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:07:57 +0000 (0:00:00.369) 0:01:09.806 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:07:57 +0000 (0:00:00.021) 0:01:09.828 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:45 Thursday 21 July 2022 22:07:58 +0000 (0:00:00.988) 0:01:10.816 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:07:58 +0000 (0:00:00.040) 0:01:10.857 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:07:58 +0000 (0:00:00.052) 0:01:10.909 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:07:58 +0000 (0:00:00.041) 0:01:10.951 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "ca915b6d-1133-427a-a03a-ce7b293b7a97" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "Qv0qXN-164z-CHMq-0PJ8-nzIU-o3v8-dIRKsE" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-22-06-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:07:59 +0000 (0:00:00.510) 0:01:11.461 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002338", "end": "2022-07-21 18:07:59.698080", "rc": 0, "start": "2022-07-21 18:07:59.695742" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:07:59 +0000 (0:00:00.486) 0:01:11.947 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002867", "end": "2022-07-21 18:08:00.096112", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:08:00.093245" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:08:00 +0000 (0:00:00.397) 0:01:12.345 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['nvme0n1'], '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': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:08:00 +0000 (0:00:00.060) 0:01:12.405 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:08:00 +0000 (0:00:00.067) 0:01:12.473 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:08:00 +0000 (0:00:00.082) 0:01:12.556 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:08:00 +0000 (0:00:00.055) 0:01:12.611 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:08:00 +0000 (0:00:00.470) 0:01:13.082 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:08:00 +0000 (0:00:00.047) 0:01:13.129 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.049) 0:01:13.179 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.064) 0:01:13.243 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.036) 0:01:13.280 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.051) 0:01:13.331 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.027) 0:01:13.358 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.042) 0:01:13.400 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.042) 0:01:13.443 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.022) 0:01:13.465 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.021) 0:01:13.487 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.021) 0:01:13.509 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.021) 0:01:13.530 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.022) 0:01:13.552 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.021) 0:01:13.573 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.022) 0:01:13.595 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.030) 0:01:13.626 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.040) 0:01:13.667 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.040) 0:01:13.708 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.029) 0:01:13.737 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.026) 0:01:13.764 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.031) 0:01:13.795 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.049) 0:01:13.845 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.044) 0:01:13.889 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.025) 0:01:13.914 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.023) 0:01:13.938 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.025) 0:01:13.963 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.060) 0:01:14.023 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.047) 0:01:14.071 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.052) 0:01:14.123 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:08:01 +0000 (0:00:00.030) 0:01:14.154 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.043) 0:01:14.197 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.052) 0:01:14.249 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.048) 0:01:14.298 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.036) 0:01:14.335 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.037) 0:01:14.372 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.036) 0:01:14.409 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.035) 0:01:14.444 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.035) 0:01:14.480 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.047) 0:01:14.528 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.043) 0:01:14.571 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.025) 0:01:14.597 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.025) 0:01:14.622 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.024) 0:01:14.646 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.024) 0:01:14.671 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.024) 0:01:14.696 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.022) 0:01:14.718 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.022) 0:01:14.740 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.031) 0:01:14.772 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.032) 0:01:14.805 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.039) 0:01:14.844 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.045) 0:01:14.890 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.081) 0:01:14.972 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.037) 0:01:15.009 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "ca915b6d-1133-427a-a03a-ce7b293b7a97" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "ca915b6d-1133-427a-a03a-ce7b293b7a97" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.056) 0:01:15.066 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:08:02 +0000 (0:00:00.050) 0:01:15.116 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.083) 0:01:15.200 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.124) 0:01:15.324 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.025) 0:01:15.350 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.024) 0:01:15.374 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.025) 0:01:15.400 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.038) 0:01:15.438 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.061) 0:01:15.499 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.051) 0:01:15.550 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.053) 0:01:15.604 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.038) 0:01:15.642 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.036) 0:01:15.679 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.040) 0:01:15.719 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.042) 0:01:15.761 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658441274.6971035, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658441274.6971035, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 74569, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658441274.6971035, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:08:03 +0000 (0:00:00.387) 0:01:16.148 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:08:04 +0000 (0:00:00.037) 0:01:16.186 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:08:04 +0000 (0:00:00.038) 0:01:16.224 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:08:04 +0000 (0:00:00.034) 0:01:16.259 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:08:04 +0000 (0:00:00.021) 0:01:16.281 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:08:04 +0000 (0:00:00.036) 0:01:16.317 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:08:04 +0000 (0:00:00.021) 0:01:16.339 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-2.3.7-2.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:08:06 +0000 (0:00:01.949) 0:01:18.289 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.023) 0:01:18.312 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.021) 0:01:18.334 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.049) 0:01:18.383 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.023) 0:01:18.406 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.021) 0:01:18.428 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.024) 0:01:18.452 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.026) 0:01:18.478 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.023) 0:01:18.502 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.080) 0:01:18.583 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.051) 0:01:18.634 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.035) 0:01:18.670 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.036) 0:01:18.706 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.036) 0:01:18.742 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.063) 0:01:18.806 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.036) 0:01:18.842 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.038) 0:01:18.880 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.038) 0:01:18.919 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.102) 0:01:19.021 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.037) 0:01:19.059 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.038) 0:01:19.098 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:08:06 +0000 (0:00:00.042) 0:01:19.141 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:08:07 +0000 (0:00:00.476) 0:01:19.617 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:08:07 +0000 (0:00:00.373) 0:01:19.991 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:08:07 +0000 (0:00:00.048) 0:01:20.040 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:08:07 +0000 (0:00:00.033) 0:01:20.074 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:08:07 +0000 (0:00:00.041) 0:01:20.116 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:08:07 +0000 (0:00:00.048) 0:01:20.164 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.039) 0:01:20.203 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.040) 0:01:20.244 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.040) 0:01:20.284 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.041) 0:01:20.326 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.037) 0:01:20.363 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.054) 0:01:20.418 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034774", "end": "2022-07-21 18:08:08.579941", "rc": 0, "start": "2022-07-21 18:08:08.545167" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.413) 0:01:20.831 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.053) 0:01:20.885 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.054) 0:01:20.940 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.042) 0:01:20.982 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.039) 0:01:21.021 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.039) 0:01:21.061 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.040) 0:01:21.101 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.036) 0:01:21.138 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:08:08 +0000 (0:00:00.021) 0:01:21.159 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:47 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.033) 0:01:21.192 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.048) 0:01:21.241 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.038) 0:01:21.279 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.561) 0:01:21.841 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.061) 0:01:21.902 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.033) 0:01:21.935 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.032) 0:01:21.968 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.055) 0:01:22.023 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.019) 0:01:22.042 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.026) 0:01:22.069 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "state": "absent", "type": "lvm" } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.036) 0:01:22.105 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.035) 0:01:22.141 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:08:09 +0000 (0:00:00.026) 0:01:22.167 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:08:10 +0000 (0:00:00.029) 0:01:22.197 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:08:10 +0000 (0:00:00.025) 0:01:22.223 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:08:10 +0000 (0:00:00.028) 0:01:22.251 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:08:10 +0000 (0:00:00.052) 0:01:22.303 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:08:10 +0000 (0:00:00.020) 0:01:22.324 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:08:11 +0000 (0:00:01.825) 0:01:24.149 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:08:12 +0000 (0:00:00.040) 0:01:24.190 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:08:12 +0000 (0:00:00.023) 0:01:24.214 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:08:12 +0000 (0:00:00.038) 0:01:24.253 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:08:12 +0000 (0:00:00.036) 0:01:24.289 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:08:12 +0000 (0:00:00.039) 0:01:24.329 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', '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": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:08:12 +0000 (0:00:00.407) 0:01:24.736 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:08:13 +0000 (0:00:00.670) 0:01:25.406 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:08:13 +0000 (0:00:00.039) 0:01:25.446 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:08:13 +0000 (0:00:00.618) 0:01:26.065 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:08:14 +0000 (0:00:00.428) 0:01:26.494 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:08:14 +0000 (0:00:00.065) 0:01:26.559 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:57 Thursday 21 July 2022 22:08:15 +0000 (0:00:00.953) 0:01:27.513 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:08:15 +0000 (0:00:00.043) 0:01:27.557 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:08:15 +0000 (0:00:00.049) 0:01:27.607 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:08:15 +0000 (0:00:00.034) 0:01:27.642 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-22-06-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:08:15 +0000 (0:00:00.384) 0:01:28.027 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002310", "end": "2022-07-21 18:08:16.148679", "rc": 0, "start": "2022-07-21 18:08:16.146369" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:08:16 +0000 (0:00:00.373) 0:01:28.400 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.003766", "end": "2022-07-21 18:08:17.520056", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:08:16.516290" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:08:17 +0000 (0:00:01.380) 0:01:29.781 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['nvme0n1'], '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': 'absent', 'type': 'lvm', 'volumes': [], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:08:17 +0000 (0:00:00.058) 0:01:29.839 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:08:17 +0000 (0:00:00.035) 0:01:29.875 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:08:17 +0000 (0:00:00.047) 0:01:29.923 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:08:17 +0000 (0:00:00.051) 0:01:29.974 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:08:17 +0000 (0:00:00.022) 0:01:29.997 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:08:17 +0000 (0:00:00.050) 0:01:30.048 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:08:17 +0000 (0:00:00.050) 0:01:30.098 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:08:17 +0000 (0:00:00.052) 0:01:30.151 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.037) 0:01:30.189 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.078) 0:01:30.267 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.025) 0:01:30.293 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.022) 0:01:30.315 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.041) 0:01:30.357 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.024) 0:01:30.382 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.024) 0:01:30.406 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.023) 0:01:30.430 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.023) 0:01:30.454 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.025) 0:01:30.479 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.056) 0:01:30.536 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.024) 0:01:30.561 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.035) 0:01:30.596 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.045) 0:01:30.642 ********* TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.022) 0:01:30.665 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.045) 0:01:30.710 ********* TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.022) 0:01:30.732 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.046) 0:01:30.779 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.051) 0:01:30.830 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.021) 0:01:30.852 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.021) 0:01:30.874 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.036) 0:01:30.910 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.048) 0:01:30.958 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.021) 0:01:30.980 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.036) 0:01:31.017 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.022) 0:01:31.039 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.020) 0:01:31.060 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create ext4 filesystem with invalid parameter "-Fb 512"] ********** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:61 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.036) 0:01:31.096 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:08:18 +0000 (0:00:00.040) 0:01:31.136 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:08:19 +0000 (0:00:00.035) 0:01:31.172 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:08:19 +0000 (0:00:00.540) 0:01:31.712 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:08:19 +0000 (0:00:00.064) 0:01:31.777 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:08:19 +0000 (0:00:00.036) 0:01:31.814 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:08:19 +0000 (0:00:00.036) 0:01:31.850 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:08:19 +0000 (0:00:00.058) 0:01:31.909 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:08:19 +0000 (0:00:00.028) 0:01:31.937 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:08:19 +0000 (0:00:00.033) 0:01:31.971 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 512", "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:08:19 +0000 (0:00:00.128) 0:01:32.099 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:08:19 +0000 (0:00:00.037) 0:01:32.137 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:08:19 +0000 (0:00:00.029) 0:01:32.167 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:08:20 +0000 (0:00:00.028) 0:01:32.195 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:08:20 +0000 (0:00:00.028) 0:01:32.224 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:08:20 +0000 (0:00:00.029) 0:01:32.254 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:08:20 +0000 (0:00:00.059) 0:01:32.313 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:08:20 +0000 (0:00:00.022) 0:01:32.336 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "dosfstools", "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [], "volumes": [] } MSG: Failed to commit changes to disk: (FSError('format failed: 1',), '/dev/mapper/foo-test1') TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 22:08:21 +0000 (0:00:01.691) 0:01:34.027 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': ['dosfstools', 'xfsprogs', 'lvm2', 'e2fsprogs'], 'failed': True, 'msg': "Failed to commit changes to disk: (FSError('format failed: 1',), '/dev/mapper/foo-test1')", 'invocation': {'module_args': {'pools': [{'disks': ['nvme0n1'], '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': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 512', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], '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': False, '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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:08:21 +0000 (0:00:00.042) 0:01:34.070 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:81 Thursday 21 July 2022 22:08:21 +0000 (0:00:00.022) 0:01:34.093 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when creating ext4 filesystem with invalid parameter "-Fb 512"] *** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:87 Thursday 21 July 2022 22:08:21 +0000 (0:00:00.038) 0:01:34.132 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:92 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.051) 0:01:34.184 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.036) 0:01:34.220 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.035) 0:01:34.256 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.512) 0:01:34.768 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.063) 0:01:34.832 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.037) 0:01:34.870 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.042) 0:01:34.912 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.057) 0:01:34.970 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.022) 0:01:34.992 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.029) 0:01:35.022 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "state": "absent", "type": "lvm" } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.042) 0:01:35.065 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.067) 0:01:35.132 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:08:22 +0000 (0:00:00.030) 0:01:35.163 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:08:23 +0000 (0:00:00.029) 0:01:35.193 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:08:23 +0000 (0:00:00.030) 0:01:35.223 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:08:23 +0000 (0:00:00.028) 0:01:35.251 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:08:23 +0000 (0:00:00.085) 0:01:35.336 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:08:23 +0000 (0:00:00.020) 0:01:35.357 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:08:24 +0000 (0:00:01.637) 0:01:36.995 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:08:24 +0000 (0:00:00.098) 0:01:37.093 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:08:24 +0000 (0:00:00.022) 0:01:37.116 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:08:24 +0000 (0:00:00.040) 0:01:37.156 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:08:25 +0000 (0:00:00.041) 0:01:37.197 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:08:25 +0000 (0:00:00.038) 0:01:37.236 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:08:25 +0000 (0:00:00.036) 0:01:37.273 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:08:25 +0000 (0:00:00.023) 0:01:37.296 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:08:25 +0000 (0:00:00.033) 0:01:37.330 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:08:25 +0000 (0:00:00.023) 0:01:37.353 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:08:25 +0000 (0:00:00.372) 0:01:37.726 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:08:25 +0000 (0:00:00.025) 0:01:37.751 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Create one LVM logical volume with "4g" under one volume group] ********** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:102 Thursday 21 July 2022 22:08:26 +0000 (0:00:00.987) 0:01:38.739 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:08:26 +0000 (0:00:00.042) 0:01:38.781 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:08:26 +0000 (0:00:00.034) 0:01:38.816 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.528) 0:01:39.345 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.064) 0:01:39.409 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.037) 0:01:39.447 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.037) 0:01:39.484 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.056) 0:01:39.540 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.020) 0:01:39.561 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.026) 0:01:39.587 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.037) 0:01:39.624 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.078) 0:01:39.703 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.033) 0:01:39.736 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.028) 0:01:39.765 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.028) 0:01:39.793 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.027) 0:01:39.821 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.057) 0:01:39.878 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:08:27 +0000 (0:00:00.022) 0:01:39.900 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:08:29 +0000 (0:00:01.692) 0:01:41.593 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:08:29 +0000 (0:00:00.037) 0:01:41.631 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:08:29 +0000 (0:00:00.022) 0:01:41.653 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:08:29 +0000 (0:00:00.074) 0:01:41.728 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:08:29 +0000 (0:00:00.087) 0:01:41.815 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:08:29 +0000 (0:00:00.039) 0:01:41.854 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:08:29 +0000 (0:00:00.038) 0:01:41.892 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:08:30 +0000 (0:00:00.631) 0:01:42.524 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', '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": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:08:30 +0000 (0:00:00.400) 0:01:42.925 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:08:31 +0000 (0:00:00.624) 0:01:43.550 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:08:31 +0000 (0:00:00.394) 0:01:43.944 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:08:31 +0000 (0:00:00.023) 0:01:43.968 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:116 Thursday 21 July 2022 22:08:32 +0000 (0:00:00.959) 0:01:44.927 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:08:32 +0000 (0:00:00.039) 0:01:44.966 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:08:32 +0000 (0:00:00.052) 0:01:45.019 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:08:32 +0000 (0:00:00.045) 0:01:45.064 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "c4a66048-a5ab-44ca-a560-ff6e78f574da" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "KwNQUi-7jug-Mo3E-dT3t-mMur-asDf-iQLi5X" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-22-06-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:08:33 +0000 (0:00:00.380) 0:01:45.444 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002299", "end": "2022-07-21 18:08:33.593761", "rc": 0, "start": "2022-07-21 18:08:33.591462" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:08:33 +0000 (0:00:00.396) 0:01:45.841 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002502", "end": "2022-07-21 18:08:33.954127", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:08:33.951625" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.363) 0:01:46.205 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['nvme0n1'], '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': [{'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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.058) 0:01:46.263 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.112) 0:01:46.376 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.049) 0:01:46.425 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.057) 0:01:46.482 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.392) 0:01:46.874 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.051) 0:01:46.926 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.052) 0:01:46.979 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.052) 0:01:47.031 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.040) 0:01:47.071 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.052) 0:01:47.124 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:08:34 +0000 (0:00:00.025) 0:01:47.149 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.044) 0:01:47.193 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.045) 0:01:47.239 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.025) 0:01:47.264 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.024) 0:01:47.289 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.024) 0:01:47.313 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.025) 0:01:47.338 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.025) 0:01:47.363 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.026) 0:01:47.390 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.024) 0:01:47.414 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.034) 0:01:47.449 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.042) 0:01:47.491 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.043) 0:01:47.535 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.028) 0:01:47.564 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.029) 0:01:47.593 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.028) 0:01:47.621 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.044) 0:01:47.666 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.042) 0:01:47.708 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.025) 0:01:47.734 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.024) 0:01:47.759 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.022) 0:01:47.782 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.024) 0:01:47.806 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.083) 0:01:47.889 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.052) 0:01:47.942 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.030) 0:01:47.972 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.044) 0:01:48.016 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.053) 0:01:48.070 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:08:35 +0000 (0:00:00.061) 0:01:48.132 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.039) 0:01:48.171 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.041) 0:01:48.212 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.038) 0:01:48.250 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.035) 0:01:48.286 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.037) 0:01:48.323 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.050) 0:01:48.374 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.045) 0:01:48.420 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.025) 0:01:48.445 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.027) 0:01:48.473 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.024) 0:01:48.497 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.023) 0:01:48.520 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.023) 0:01:48.544 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.026) 0:01:48.571 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.025) 0:01:48.596 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.034) 0:01:48.631 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.034) 0:01:48.665 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.041) 0:01:48.706 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.046) 0:01:48.753 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.077) 0:01:48.831 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.044) 0:01:48.876 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "c4a66048-a5ab-44ca-a560-ff6e78f574da" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "c4a66048-a5ab-44ca-a560-ff6e78f574da" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.057) 0:01:48.933 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.051) 0:01:48.984 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.050) 0:01:49.035 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.051) 0:01:49.086 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.027) 0:01:49.114 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:08:36 +0000 (0:00:00.028) 0:01:49.142 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.066) 0:01:49.209 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.036) 0:01:49.245 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.062) 0:01:49.308 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.051) 0:01:49.360 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.051) 0:01:49.411 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.036) 0:01:49.448 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.037) 0:01:49.485 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.042) 0:01:49.527 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.041) 0:01:49.569 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658441309.2851033, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658441309.2851033, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 96683, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658441309.2851033, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.388) 0:01:49.957 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.039) 0:01:49.997 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.039) 0:01:50.037 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.035) 0:01:50.072 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.022) 0:01:50.094 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.036) 0:01:50.131 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:08:37 +0000 (0:00:00.024) 0:01:50.156 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:08:39 +0000 (0:00:01.433) 0:01:51.589 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.031) 0:01:51.621 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.029) 0:01:51.651 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.053) 0:01:51.704 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.023) 0:01:51.728 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.022) 0:01:51.751 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.023) 0:01:51.775 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.024) 0:01:51.799 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.023) 0:01:51.823 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.051) 0:01:51.875 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.102) 0:01:51.977 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.039) 0:01:52.017 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.034) 0:01:52.052 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.035) 0:01:52.087 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.039) 0:01:52.127 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:08:39 +0000 (0:00:00.040) 0:01:52.167 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:08:40 +0000 (0:00:00.035) 0:01:52.202 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:08:40 +0000 (0:00:00.035) 0:01:52.237 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:08:40 +0000 (0:00:00.038) 0:01:52.275 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:08:40 +0000 (0:00:00.039) 0:01:52.315 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:08:40 +0000 (0:00:00.036) 0:01:52.351 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:08:40 +0000 (0:00:00.038) 0:01:52.390 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:08:40 +0000 (0:00:00.456) 0:01:52.846 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.442) 0:01:53.289 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.053) 0:01:53.342 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.038) 0:01:53.381 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.038) 0:01:53.419 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.039) 0:01:53.459 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.040) 0:01:53.499 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.035) 0:01:53.535 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.034) 0:01:53.569 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.043) 0:01:53.613 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.040) 0:01:53.654 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.052) 0:01:53.707 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.036907", "end": "2022-07-21 18:08:41.881480", "rc": 0, "start": "2022-07-21 18:08:41.844573" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:08:41 +0000 (0:00:00.435) 0:01:54.142 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.051) 0:01:54.193 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.053) 0:01:54.247 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.039) 0:01:54.287 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.041) 0:01:54.328 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.039) 0:01:54.368 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.038) 0:01:54.407 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.037) 0:01:54.445 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.023) 0:01:54.468 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Resizing with one large value which large than disk's size] ************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:120 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.035) 0:01:54.504 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.040) 0:01:54.545 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.036) 0:01:54.582 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:08:42 +0000 (0:00:00.534) 0:01:55.117 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.103) 0:01:55.220 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.067) 0:01:55.288 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.079) 0:01:55.367 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.105) 0:01:55.473 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.022) 0:01:55.496 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.030) 0:01:55.527 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.059) 0:01:55.586 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.040) 0:01:55.627 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.031) 0:01:55.658 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.028) 0:01:55.687 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.034) 0:01:55.721 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.029) 0:01:55.750 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.060) 0:01:55.811 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:08:43 +0000 (0:00:00.024) 0:01:55.835 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 22:08:45 +0000 (0:00:01.415) 0:01:57.251 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'disks': ['nvme0n1'], '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': [{'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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}], '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': False, '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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:08:45 +0000 (0:00:00.042) 0:01:57.294 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:139 Thursday 21 July 2022 22:08:45 +0000 (0:00:00.021) 0:01:57.315 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when resizing with large size] ************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:145 Thursday 21 July 2022 22:08:45 +0000 (0:00:00.040) 0:01:57.356 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:150 Thursday 21 July 2022 22:08:45 +0000 (0:00:00.050) 0:01:57.407 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:08:45 +0000 (0:00:00.036) 0:01:57.443 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:08:45 +0000 (0:00:00.035) 0:01:57.478 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:08:45 +0000 (0:00:00.528) 0:01:58.007 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:08:45 +0000 (0:00:00.066) 0:01:58.074 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:08:45 +0000 (0:00:00.036) 0:01:58.110 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:08:45 +0000 (0:00:00.036) 0:01:58.147 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:08:46 +0000 (0:00:00.057) 0:01:58.205 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:08:46 +0000 (0:00:00.020) 0:01:58.226 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:08:46 +0000 (0:00:00.027) 0:01:58.253 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "state": "absent", "type": "lvm" } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:08:46 +0000 (0:00:00.071) 0:01:58.325 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:08:46 +0000 (0:00:00.035) 0:01:58.361 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:08:46 +0000 (0:00:00.027) 0:01:58.388 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:08:46 +0000 (0:00:00.030) 0:01:58.418 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:08:46 +0000 (0:00:00.061) 0:01:58.479 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:08:46 +0000 (0:00:00.029) 0:01:58.509 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:08:46 +0000 (0:00:00.059) 0:01:58.568 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:08:46 +0000 (0:00:00.022) 0:01:58.591 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:08:48 +0000 (0:00:01.757) 0:02:00.349 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:08:48 +0000 (0:00:00.039) 0:02:00.389 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:08:48 +0000 (0:00:00.024) 0:02:00.413 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:08:48 +0000 (0:00:00.042) 0:02:00.455 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:08:48 +0000 (0:00:00.040) 0:02:00.496 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:08:48 +0000 (0:00:00.041) 0:02:00.537 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', '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": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:08:48 +0000 (0:00:00.414) 0:02:00.952 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:08:49 +0000 (0:00:00.634) 0:02:01.586 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:08:49 +0000 (0:00:00.041) 0:02:01.627 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:08:50 +0000 (0:00:00.627) 0:02:02.254 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:08:50 +0000 (0:00:00.368) 0:02:02.623 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:08:50 +0000 (0:00:00.024) 0:02:02.647 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Create one partition on one disk] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:160 Thursday 21 July 2022 22:08:51 +0000 (0:00:00.969) 0:02:03.617 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:08:51 +0000 (0:00:00.043) 0:02:03.661 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:08:51 +0000 (0:00:00.036) 0:02:03.698 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.571) 0:02:04.269 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.104) 0:02:04.374 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.089) 0:02:04.463 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.080) 0:02:04.544 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.091) 0:02:04.635 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.022) 0:02:04.657 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.030) 0:02:04.687 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "type": "partition", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "partition" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.041) 0:02:04.729 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.036) 0:02:04.765 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.028) 0:02:04.794 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.028) 0:02:04.822 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.031) 0:02:04.854 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.028) 0:02:04.882 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.056) 0:02:04.939 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:08:52 +0000 (0:00:00.023) 0:02:04.963 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme0n1p1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/nvme0n1p1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:08:54 +0000 (0:00:01.653) 0:02:06.616 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:08:54 +0000 (0:00:00.035) 0:02:06.652 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:08:54 +0000 (0:00:00.023) 0:02:06.676 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "create format", "device": "/dev/nvme0n1p1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/nvme0n1p1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:08:54 +0000 (0:00:00.040) 0:02:06.716 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:08:54 +0000 (0:00:00.040) 0:02:06.757 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:08:54 +0000 (0:00:00.039) 0:02:06.796 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:08:54 +0000 (0:00:00.046) 0:02:06.843 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:08:55 +0000 (0:00:00.638) 0:02:07.482 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7', '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=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:08:55 +0000 (0:00:00.436) 0:02:07.918 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:08:56 +0000 (0:00:00.605) 0:02:08.524 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:08:56 +0000 (0:00:00.371) 0:02:08.896 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:08:56 +0000 (0:00:00.022) 0:02:08.918 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:174 Thursday 21 July 2022 22:08:57 +0000 (0:00:01.015) 0:02:09.933 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:08:57 +0000 (0:00:00.045) 0:02:09.979 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:08:57 +0000 (0:00:00.151) 0:02:10.131 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:08:57 +0000 (0:00:00.038) 0:02:10.169 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme0n1p1": { "fstype": "ext4", "label": "", "name": "/dev/nvme0n1p1", "size": "10G", "type": "partition", "uuid": "93033fc6-2e1d-4238-93a8-6f166c4f75b7" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-22-06-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:08:58 +0000 (0:00:00.384) 0:02:10.553 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002473", "end": "2022-07-21 18:08:58.668553", "rc": 0, "start": "2022-07-21 18:08:58.666080" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:08:58 +0000 (0:00:00.366) 0:02:10.919 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002320", "end": "2022-07-21 18:08:59.041648", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:08:59.039328" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.373) 0:02:11.293 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['nvme0n1'], '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': [{'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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/nvme0n1p1', '_raw_device': '/dev/nvme0n1p1', '_mount_id': 'UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7', '_kernel_device': '/dev/nvme0n1p1', '_raw_kernel_device': '/dev/nvme0n1p1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.060) 0:02:11.354 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.032) 0:02:11.386 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.044) 0:02:11.431 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.023) 0:02:11.454 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.021) 0:02:11.476 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.023) 0:02:11.499 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.026) 0:02:11.526 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.025) 0:02:11.551 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.024) 0:02:11.575 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.024) 0:02:11.600 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.025) 0:02:11.625 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.021) 0:02:11.647 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.041) 0:02:11.688 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.022) 0:02:11.711 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.021) 0:02:11.733 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.022) 0:02:11.756 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.023) 0:02:11.779 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.026) 0:02:11.806 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.022) 0:02:11.828 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.021) 0:02:11.850 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.064) 0:02:11.914 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.081) 0:02:11.996 ********* skipping: [/cache/rhel-8.qcow2] => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/nvme0n1p1', '_raw_device': '/dev/nvme0n1p1', '_mount_id': 'UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7', '_kernel_device': '/dev/nvme0n1p1', '_raw_kernel_device': '/dev/nvme0n1p1'}) => { "ansible_loop_var": "storage_test_lvmraid_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_lvmraid_volume": { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.032) 0:02:12.029 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.046) 0:02:12.076 ********* skipping: [/cache/rhel-8.qcow2] => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/nvme0n1p1', '_raw_device': '/dev/nvme0n1p1', '_mount_id': 'UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7', '_kernel_device': '/dev/nvme0n1p1', '_raw_kernel_device': '/dev/nvme0n1p1'}) => { "ansible_loop_var": "storage_test_thin_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_thin_volume": { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.029) 0:02:12.105 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:08:59 +0000 (0:00:00.045) 0:02:12.151 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.049) 0:02:12.201 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.023) 0:02:12.224 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.020) 0:02:12.245 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.037) 0:02:12.282 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.050) 0:02:12.333 ********* skipping: [/cache/rhel-8.qcow2] => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/nvme0n1p1', '_raw_device': '/dev/nvme0n1p1', '_mount_id': 'UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7', '_kernel_device': '/dev/nvme0n1p1', '_raw_kernel_device': '/dev/nvme0n1p1'}) => { "ansible_loop_var": "storage_test_vdo_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_vdo_volume": { "_device": "/dev/nvme0n1p1", "_kernel_device": "/dev/nvme0n1p1", "_mount_id": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "_raw_device": "/dev/nvme0n1p1", "_raw_kernel_device": "/dev/nvme0n1p1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.032) 0:02:12.366 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.039) 0:02:12.405 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/nvme0n1p1', '_raw_device': '/dev/nvme0n1p1', '_mount_id': 'UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7', '_kernel_device': '/dev/nvme0n1p1', '_raw_kernel_device': '/dev/nvme0n1p1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.043) 0:02:12.448 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.053) 0:02:12.501 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.079) 0:02:12.581 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme0n1p1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.040) 0:02:12.622 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2563653, "block_used": 144377, "device": "/dev/nvme0n1p1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10500722688, "uuid": "93033fc6-2e1d-4238-93a8-6f166c4f75b7" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2563653, "block_used": 144377, "device": "/dev/nvme0n1p1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10500722688, "uuid": "93033fc6-2e1d-4238-93a8-6f166c4f75b7" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.060) 0:02:12.682 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.055) 0:02:12.738 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.052) 0:02:12.790 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.050) 0:02:12.841 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.026) 0:02:12.868 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.026) 0:02:12.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.025) 0:02:12.920 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.036) 0:02:12.956 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.062) 0:02:13.019 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.052) 0:02:13.071 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.051) 0:02:13.122 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:09:00 +0000 (0:00:00.035) 0:02:13.158 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:09:01 +0000 (0:00:00.037) 0:02:13.196 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:09:01 +0000 (0:00:00.038) 0:02:13.235 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:09:01 +0000 (0:00:00.079) 0:02:13.315 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658441334.2891035, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658441334.2891035, "dev": 6, "device_type": 66308, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 112812, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658441334.2891035, "nlink": 1, "path": "/dev/nvme0n1p1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:09:01 +0000 (0:00:00.417) 0:02:13.733 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:09:01 +0000 (0:00:00.042) 0:02:13.775 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:09:01 +0000 (0:00:00.054) 0:02:13.830 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "partition" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:09:01 +0000 (0:00:00.063) 0:02:13.893 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:09:01 +0000 (0:00:00.044) 0:02:13.938 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:09:01 +0000 (0:00:00.072) 0:02:14.011 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:09:01 +0000 (0:00:00.037) 0:02:14.048 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:09:03 +0000 (0:00:01.434) 0:02:15.483 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.025) 0:02:15.509 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.025) 0:02:15.535 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.053) 0:02:15.589 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.024) 0:02:15.613 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.025) 0:02:15.639 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.025) 0:02:15.664 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.025) 0:02:15.689 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.024) 0:02:15.714 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.053) 0:02:15.767 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.046) 0:02:15.814 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.034) 0:02:15.848 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.037) 0:02:15.885 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.038) 0:02:15.924 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.031) 0:02:15.956 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.033) 0:02:15.989 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.033) 0:02:16.023 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.037) 0:02:16.061 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.036) 0:02:16.097 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.034) 0:02:16.131 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:09:03 +0000 (0:00:00.033) 0:02:16.165 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.046) 0:02:16.211 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.031) 0:02:16.243 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.041) 0:02:16.284 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.037) 0:02:16.321 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.046) 0:02:16.368 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.040) 0:02:16.409 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.038) 0:02:16.448 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.040) 0:02:16.488 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.047) 0:02:16.536 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.040) 0:02:16.576 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.071) 0:02:16.648 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.105) 0:02:16.753 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.023) 0:02:16.777 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.022) 0:02:16.800 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.025) 0:02:16.826 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.026) 0:02:16.852 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.025) 0:02:16.877 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.025) 0:02:16.903 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.024) 0:02:16.928 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.025) 0:02:16.953 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.034) 0:02:16.987 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.021) 0:02:17.009 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Test setting up disk volume will remove the partition create above] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:176 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.036) 0:02:17.046 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.049) 0:02:17.095 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:09:04 +0000 (0:00:00.036) 0:02:17.132 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.525) 0:02:17.658 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.065) 0:02:17.724 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.038) 0:02:17.762 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.039) 0:02:17.802 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.062) 0:02:17.864 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.031) 0:02:17.896 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.030) 0:02:17.927 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.042) 0:02:17.969 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme0n1" ], "fs_create_options": "-F", "fs_type": "ext4", "mount_options": "rw,noatime,defaults", "mount_point": "/opt/test1", "name": "foo", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.040) 0:02:18.009 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.029) 0:02:18.038 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.029) 0:02:18.068 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.031) 0:02:18.100 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:09:05 +0000 (0:00:00.026) 0:02:18.126 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:09:06 +0000 (0:00:00.055) 0:02:18.182 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:09:06 +0000 (0:00:00.022) 0:02:18.205 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme0n1p1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:09:07 +0000 (0:00:01.636) 0:02:19.841 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:09:07 +0000 (0:00:00.037) 0:02:19.879 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:09:07 +0000 (0:00:00.021) 0:02:19.900 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme0n1p1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/nvme0n1p1", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:09:07 +0000 (0:00:00.101) 0:02:20.002 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:09:07 +0000 (0:00:00.040) 0:02:20.042 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:09:07 +0000 (0:00:00.040) 0:02:20.083 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7', '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=93033fc6-2e1d-4238-93a8-6f166c4f75b7", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=93033fc6-2e1d-4238-93a8-6f166c4f75b7" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:09:08 +0000 (0:00:00.399) 0:02:20.482 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:09:08 +0000 (0:00:00.626) 0:02:21.109 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=71a99287-b88c-4391-aa40-213f3881fc55', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'rw,noatime,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": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "state": "mounted" }, "name": "/opt/test1", "opts": "rw,noatime,defaults", "passno": "0", "src": "UUID=71a99287-b88c-4391-aa40-213f3881fc55" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:09:09 +0000 (0:00:00.424) 0:02:21.534 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:09:09 +0000 (0:00:00.631) 0:02:22.165 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:09:10 +0000 (0:00:00.375) 0:02:22.540 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:09:10 +0000 (0:00:00.024) 0:02:22.564 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:189 Thursday 21 July 2022 22:09:11 +0000 (0:00:00.991) 0:02:23.556 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:09:11 +0000 (0:00:00.041) 0:02:23.598 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:09:11 +0000 (0:00:00.037) 0:02:23.636 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_kernel_device": "/dev/nvme0n1", "_mount_id": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "_raw_device": "/dev/nvme0n1", "_raw_kernel_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:09:11 +0000 (0:00:00.052) 0:02:23.688 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "ext4", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "71a99287-b88c-4391-aa40-213f3881fc55" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-22-06-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:09:11 +0000 (0:00:00.395) 0:02:24.084 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004540", "end": "2022-07-21 18:09:13.216749", "rc": 0, "start": "2022-07-21 18:09:12.212209" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=71a99287-b88c-4391-aa40-213f3881fc55 /opt/test1 ext4 rw,noatime,defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:09:13 +0000 (0:00:01.394) 0:02:25.478 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002252", "end": "2022-07-21 18:09:13.625049", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:09:13.622797" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:09:13 +0000 (0:00:00.396) 0:02:25.874 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:09:13 +0000 (0:00:00.021) 0:02:25.896 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-F', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'rw,noatime,defaults', 'mount_point': '/opt/test1', 'name': 'foo', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme0n1'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/nvme0n1', '_raw_device': '/dev/nvme0n1', '_mount_id': 'UUID=71a99287-b88c-4391-aa40-213f3881fc55', '_kernel_device': '/dev/nvme0n1', '_raw_kernel_device': '/dev/nvme0n1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:09:13 +0000 (0:00:00.053) 0:02:25.950 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:09:13 +0000 (0:00:00.076) 0:02:26.026 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:09:13 +0000 (0:00:00.112) 0:02:26.139 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/nvme0n1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.038) 0:02:26.178 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2563909, "block_used": 144390, "device": "/dev/nvme0n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10501771264, "uuid": "71a99287-b88c-4391-aa40-213f3881fc55" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2563909, "block_used": 144390, "device": "/dev/nvme0n1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10501771264, "uuid": "71a99287-b88c-4391-aa40-213f3881fc55" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.056) 0:02:26.234 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.049) 0:02:26.283 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.044) 0:02:26.328 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.046) 0:02:26.374 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.021) 0:02:26.396 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.022) 0:02:26.418 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.024) 0:02:26.442 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.036) 0:02:26.479 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=71a99287-b88c-4391-aa40-213f3881fc55 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 rw,noatime,defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.068) 0:02:26.547 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.050) 0:02:26.597 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.049) 0:02:26.647 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.052) 0:02:26.699 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.034) 0:02:26.734 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.037) 0:02:26.771 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:09:14 +0000 (0:00:00.037) 0:02:26.808 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658441347.5291035, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658441347.5291035, "dev": 6, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1704, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658441347.5291035, "nlink": 1, "path": "/dev/nvme0n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:09:15 +0000 (0:00:00.375) 0:02:27.184 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:09:15 +0000 (0:00:00.043) 0:02:27.227 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:09:15 +0000 (0:00:00.046) 0:02:27.273 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:09:15 +0000 (0:00:00.039) 0:02:27.313 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:09:15 +0000 (0:00:00.026) 0:02:27.339 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:09:15 +0000 (0:00:00.037) 0:02:27.377 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:09:15 +0000 (0:00:00.024) 0:02:27.401 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:09:16 +0000 (0:00:01.386) 0:02:28.788 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:09:16 +0000 (0:00:00.025) 0:02:28.814 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:09:16 +0000 (0:00:00.024) 0:02:28.838 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:09:16 +0000 (0:00:00.103) 0:02:28.942 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:09:16 +0000 (0:00:00.025) 0:02:28.967 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:09:16 +0000 (0:00:00.024) 0:02:28.992 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:09:16 +0000 (0:00:00.024) 0:02:29.016 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:09:16 +0000 (0:00:00.060) 0:02:29.076 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:09:16 +0000 (0:00:00.025) 0:02:29.102 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:09:16 +0000 (0:00:00.059) 0:02:29.161 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.054) 0:02:29.215 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.036) 0:02:29.252 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.036) 0:02:29.289 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.035) 0:02:29.325 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.036) 0:02:29.361 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.037) 0:02:29.399 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.037) 0:02:29.436 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.036) 0:02:29.472 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.037) 0:02:29.510 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.034) 0:02:29.544 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.037) 0:02:29.582 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.035) 0:02:29.617 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.027) 0:02:29.644 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.037) 0:02:29.682 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.044) 0:02:29.727 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.038) 0:02:29.766 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.039) 0:02:29.806 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.037) 0:02:29.843 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.037) 0:02:29.881 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.037) 0:02:29.918 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.039) 0:02:29.958 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.036) 0:02:29.995 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.037) 0:02:30.032 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.024) 0:02:30.056 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.025) 0:02:30.082 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.024) 0:02:30.107 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.025) 0:02:30.132 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:09:17 +0000 (0:00:00.025) 0:02:30.158 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.025) 0:02:30.183 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.024) 0:02:30.207 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.023) 0:02:30.230 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.036) 0:02:30.267 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the disk volume created above] ************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:193 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.036) 0:02:30.303 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.050) 0:02:30.353 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.034) 0:02:30.388 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.570) 0:02:30.959 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.064) 0:02:31.023 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.037) 0:02:31.061 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.037) 0:02:31.098 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:09:18 +0000 (0:00:00.070) 0:02:31.168 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:09:19 +0000 (0:00:00.023) 0:02:31.192 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:09:19 +0000 (0:00:00.030) 0:02:31.222 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:09:19 +0000 (0:00:00.041) 0:02:31.264 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme0n1" ], "name": "foo", "state": "absent", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:09:19 +0000 (0:00:00.041) 0:02:31.305 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:09:19 +0000 (0:00:00.029) 0:02:31.334 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:09:19 +0000 (0:00:00.031) 0:02:31.366 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:09:19 +0000 (0:00:00.030) 0:02:31.396 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:09:19 +0000 (0:00:00.027) 0:02:31.424 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:09:19 +0000 (0:00:00.060) 0:02:31.485 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:09:19 +0000 (0:00:00.023) 0:02:31.508 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_mount_id": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "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": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:09:20 +0000 (0:00:01.299) 0:02:32.808 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:09:20 +0000 (0:00:00.039) 0:02:32.847 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:09:20 +0000 (0:00:00.023) 0:02:32.871 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/nvme0n1", "_mount_id": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "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": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:09:20 +0000 (0:00:00.042) 0:02:32.913 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:09:20 +0000 (0:00:00.038) 0:02:32.952 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/nvme0n1", "_mount_id": "UUID=71a99287-b88c-4391-aa40-213f3881fc55", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "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": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:09:20 +0000 (0:00:00.040) 0:02:32.992 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=71a99287-b88c-4391-aa40-213f3881fc55', '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=71a99287-b88c-4391-aa40-213f3881fc55", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=71a99287-b88c-4391-aa40-213f3881fc55" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:09:21 +0000 (0:00:00.418) 0:02:33.410 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:09:21 +0000 (0:00:00.627) 0:02:34.038 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:09:21 +0000 (0:00:00.040) 0:02:34.079 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:09:22 +0000 (0:00:00.614) 0:02:34.693 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:09:22 +0000 (0:00:00.422) 0:02:35.116 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:09:22 +0000 (0:00:00.023) 0:02:35.140 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Try to mount swap filesystem to "/opt/test1"] **************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:205 Thursday 21 July 2022 22:09:25 +0000 (0:00:03.023) 0:02:38.163 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:09:26 +0000 (0:00:00.090) 0:02:38.254 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:09:26 +0000 (0:00:00.037) 0:02:38.291 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:09:26 +0000 (0:00:00.540) 0:02:38.831 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:09:26 +0000 (0:00:00.070) 0:02:38.902 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:09:26 +0000 (0:00:00.036) 0:02:38.938 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:09:26 +0000 (0:00:00.036) 0:02:38.975 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:09:26 +0000 (0:00:00.056) 0:02:39.031 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:09:26 +0000 (0:00:00.021) 0:02:39.052 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:09:26 +0000 (0:00:00.027) 0:02:39.079 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:09:26 +0000 (0:00:00.044) 0:02:39.124 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "nvme0n1" ], "fs_type": "swap", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:09:26 +0000 (0:00:00.042) 0:02:39.166 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:09:27 +0000 (0:00:00.026) 0:02:39.193 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:09:27 +0000 (0:00:00.029) 0:02:39.222 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:09:27 +0000 (0:00:00.029) 0:02:39.252 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:09:27 +0000 (0:00:00.030) 0:02:39.282 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:09:27 +0000 (0:00:00.058) 0:02:39.341 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:09:27 +0000 (0:00:00.021) 0:02:39.363 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' has a mount point but no mountable file system TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 22:09:28 +0000 (0:00:01.157) 0:02:40.521 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' has a mount point but no mountable file system", '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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['nvme0n1'], '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': False, '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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:09:28 +0000 (0:00:00.042) 0:02:40.564 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:221 Thursday 21 July 2022 22:09:28 +0000 (0:00:00.023) 0:02:40.588 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when mount swap filesystem to "/opt/test1"] ************ task path: /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:227 Thursday 21 July 2022 22:09:28 +0000 (0:00:00.037) 0:02:40.625 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=483 changed=19 unreachable=0 failed=3 skipped=367 rescued=3 ignored=0 Thursday 21 July 2022 22:09:28 +0000 (0:00:00.063) 0:02:40.688 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ------ 51.20s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : Update facts ------------------------ 3.02s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Ensure cryptsetup is present -------------------------------------------- 1.95s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : get service facts ------------------- 1.84s /tmp/tmpj2uhjp4w/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 --- 1.83s /tmp/tmpj2uhjp4w/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.76s /tmp/tmpj2uhjp4w/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.69s /tmp/tmpj2uhjp4w/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.69s /tmp/tmpj2uhjp4w/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.68s /tmp/tmpj2uhjp4w/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.65s /tmp/tmpj2uhjp4w/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.64s /tmp/tmpj2uhjp4w/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.64s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 1.43s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.43s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.42s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.40s /tmp/tmpcv9gbk7i/tests/storage/tests_misc.yml:2 ------------------------------- Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 --------------------- Ensure cryptsetup is present -------------------------------------------- 1.39s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 1.38s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Read the /etc/crypttab file --------------------------------------------- 1.38s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 ---------------------