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 17:59:33 +0000 (0:00:00.017) 0:00:00.017 ********* 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 17:59:35 +0000 (0:00:01.394) 0:00:01.412 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.39s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_swap_scsi_generated.yml **************************************** 2 plays in /tmp/tmpw6dixrb5/tests/tests_swap_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/tests_swap_scsi_generated.yml:3 Thursday 21 July 2022 17:59:35 +0000 (0:00:00.016) 0:00:01.428 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpw6dixrb5/tests/tests_swap_scsi_generated.yml:7 Thursday 21 July 2022 17:59:36 +0000 (0:00:01.161) 0:00:02.590 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:2 Thursday 21 July 2022 17:59:36 +0000 (0:00:00.047) 0:00:02.637 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:10 Thursday 21 July 2022 17:59:37 +0000 (0:00:01.462) 0:00:04.099 ********* 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 17:59:37 +0000 (0:00:00.036) 0:00:04.136 ********* 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 17:59:37 +0000 (0:00:00.031) 0:00:04.167 ********* 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 17:59:39 +0000 (0:00:01.570) 0:00:05.738 ********* 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 17:59:39 +0000 (0:00:00.057) 0:00:05.796 ********* 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 17:59:39 +0000 (0:00:00.027) 0:00:05.823 ********* 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 17:59:39 +0000 (0:00:00.030) 0:00:05.854 ********* 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 17:59:39 +0000 (0:00:00.060) 0:00:05.915 ********* 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 17:59:39 +0000 (0:00:00.019) 0:00:05.934 ********* 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 18:00:31 +0000 (0:00:52.150) 0:00:58.085 ********* 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 18:00:31 +0000 (0:00:00.036) 0:00:58.122 ********* 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 18:00:31 +0000 (0:00:00.038) 0:00:58.160 ********* 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 18:00:32 +0000 (0:00:00.761) 0:00:58.921 ********* 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 18:00:32 +0000 (0:00:00.043) 0:00:58.965 ********* 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 18:00:32 +0000 (0:00:00.033) 0:00:58.998 ********* 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 18:00:32 +0000 (0:00:00.034) 0:00:59.033 ********* 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 18:00:32 +0000 (0:00:00.030) 0:00:59.064 ********* 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 18:00:34 +0000 (0:00:01.386) 0:01:00.450 ********* 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-rc060659795d64c6eb607a270ca534199.service": { "name": "run-rc060659795d64c6eb607a270ca534199.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 18:00:36 +0000 (0:00:01.977) 0:01:02.427 ********* 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 18:00:36 +0000 (0:00:00.054) 0:01:02.481 ********* 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 18:00:36 +0000 (0:00:00.020) 0:01:02.502 ********* 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 18:00:36 +0000 (0:00:00.586) 0:01:03.088 ********* 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 18:00:36 +0000 (0:00:00.034) 0:01:03.123 ********* 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 18:00:36 +0000 (0:00:00.020) 0:01:03.143 ********* 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 18:00:36 +0000 (0:00:00.065) 0:01:03.209 ********* 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 18:00:36 +0000 (0:00:00.034) 0:01:03.244 ********* 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 18:00:36 +0000 (0:00:00.038) 0:01:03.282 ********* 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 18:00:37 +0000 (0:00:00.038) 0:01:03.321 ********* 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 18:00:37 +0000 (0:00:00.024) 0:01:03.346 ********* 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 18:00:37 +0000 (0:00:00.039) 0:01:03.385 ********* 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 18:00:37 +0000 (0:00:00.025) 0:01:03.410 ********* 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 18:00:37 +0000 (0:00:00.468) 0:01:03.879 ********* 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 18:00:37 +0000 (0:00:00.022) 0:01:03.902 ********* 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_swap.yml:13 Thursday 21 July 2022 18:00:38 +0000 (0:00:00.977) 0:01:04.880 ********* 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_swap.yml:20 Thursday 21 July 2022 18:00:38 +0000 (0:00:00.037) 0:01:04.917 ********* 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 18:00:38 +0000 (0:00:00.038) 0:01:04.955 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:9 Thursday 21 July 2022 18:00:39 +0000 (0:00:00.532) 0:01:05.488 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "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 18:00:39 +0000 (0:00:00.037) 0:01:05.525 ********* 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 18:00:39 +0000 (0:00:00.038) 0:01:05.564 ********* ok: [/cache/rhel-8.qcow2] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a disk device with swap] ****************************************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:25 Thursday 21 July 2022 18:00:39 +0000 (0:00:00.069) 0:01:05.634 ********* 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 18:00:39 +0000 (0:00:00.045) 0:01:05.680 ********* 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 18:00:39 +0000 (0:00:00.034) 0:01:05.714 ********* 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 18:00:39 +0000 (0:00:00.557) 0:01:06.272 ********* 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 18:00:40 +0000 (0:00:00.063) 0:01:06.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 18:00:40 +0000 (0:00:00.034) 0:01:06.369 ********* 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 18:00:40 +0000 (0:00:00.041) 0:01:06.411 ********* 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 18:00:40 +0000 (0:00:00.051) 0:01:06.462 ********* 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 18:00:40 +0000 (0:00:00.023) 0:01:06.485 ********* 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 18:00:40 +0000 (0:00:00.030) 0:01:06.515 ********* 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 18:00:40 +0000 (0:00:00.036) 0:01:06.551 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 18:00:40 +0000 (0:00:00.033) 0:01:06.585 ********* 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 18:00:40 +0000 (0:00:00.025) 0:01:06.611 ********* 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 18:00:40 +0000 (0:00:00.024) 0:01:06.635 ********* 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 18:00:40 +0000 (0:00:00.027) 0:01:06.663 ********* 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 18:00:40 +0000 (0:00:00.025) 0:01:06.688 ********* 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 18:00:40 +0000 (0:00:00.052) 0:01:06.741 ********* 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 18:00:40 +0000 (0:00:00.019) 0:01:06.761 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "state": "present" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 18:00:41 +0000 (0:00:01.395) 0:01:08.156 ********* 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 18:00:41 +0000 (0:00:00.039) 0:01:08.196 ********* 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 18:00:41 +0000 (0:00:00.022) 0:01:08.218 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "state": "present" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 18:00:41 +0000 (0:00:00.038) 0:01:08.256 ********* 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 18:00:42 +0000 (0:00:00.083) 0:01:08.340 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 18:00:42 +0000 (0:00:00.040) 0:01:08.380 ********* 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 18:00:42 +0000 (0:00:00.038) 0:01:08.418 ********* 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 18:00:43 +0000 (0:00:00.929) 0:01:09.348 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f" } 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 18:00:43 +0000 (0:00:00.559) 0:01:09.907 ********* 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 18:00:44 +0000 (0:00:00.661) 0:01:10.568 ********* 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 18:00:44 +0000 (0:00:00.371) 0:01:10.940 ********* 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 18:00:44 +0000 (0:00:00.023) 0:01:10.964 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:35 Thursday 21 July 2022 18:00:45 +0000 (0:00:00.987) 0:01:11.951 ********* 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 18:00:45 +0000 (0:00:00.041) 0:01:11.993 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 18:00:45 +0000 (0:00:00.041) 0:01:12.034 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 18:00:45 +0000 (0:00:00.050) 0:01:12.085 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "41284aad-e4ff-42e6-afbb-c450c4a0635f" }, "/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-17-59-21-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 18:00:46 +0000 (0:00:00.504) 0:01:12.590 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003201", "end": "2022-07-21 14:00:46.668839", "rc": 0, "start": "2022-07-21 14:00:46.665638" } 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=41284aad-e4ff-42e6-afbb-c450c4a0635f none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 18:00:46 +0000 (0:00:00.503) 0:01:13.093 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002747", "end": "2022-07-21 14:00:47.054372", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:00:47.051625" } 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 18:00:47 +0000 (0:00:00.384) 0:01:13.477 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 18:00:47 +0000 (0:00:00.021) 0:01:13.499 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 18:00:47 +0000 (0:00:00.055) 0:01:13.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 18:00:47 +0000 (0:00:00.073) 0:01:13.628 ********* 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 18:00:47 +0000 (0:00:00.102) 0:01:13.730 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 18:00:47 +0000 (0:00:00.038) 0:01:13.769 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 18:00:47 +0000 (0:00:00.050) 0:01:13.819 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:00:47 +0000 (0:00:00.029) 0:01:13.848 ********* 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 18:00:47 +0000 (0:00:00.046) 0:01:13.895 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 18:00:47 +0000 (0:00:00.033) 0:01:13.929 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.003387", "end": "2022-07-21 14:00:47.889793", "rc": 0, "start": "2022-07-21 14:00:47.886406" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 18:00:48 +0000 (0:00:00.383) 0:01:14.312 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002537", "end": "2022-07-21 14:00:48.263656", "rc": 0, "start": "2022-07-21 14:00:48.261119" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 18:00:48 +0000 (0:00:00.374) 0:01:14.687 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 18:00:48 +0000 (0:00:00.055) 0:01:14.742 ********* 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 18:00:48 +0000 (0:00:00.038) 0:01:14.781 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:00:48 +0000 (0:00:00.064) 0:01:14.845 ********* 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 18:00:48 +0000 (0:00:00.046) 0:01:14.892 ********* 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 18:00:48 +0000 (0:00:00.051) 0:01:14.944 ********* 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 18:00:48 +0000 (0:00:00.036) 0:01:14.980 ********* 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 18:00:48 +0000 (0:00:00.035) 0:01:15.016 ********* 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 18:00:48 +0000 (0:00:00.039) 0:01:15.055 ********* 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 18:00:48 +0000 (0:00:00.042) 0:01:15.097 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658426441.6669462, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658426441.6379464, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1963, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658426441.6379464, "nlink": 1, "path": "/dev/sda", "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 18:00:49 +0000 (0:00:00.389) 0:01:15.487 ********* 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 18:00:49 +0000 (0:00:00.038) 0:01:15.525 ********* 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 18:00:49 +0000 (0:00:00.038) 0:01:15.563 ********* 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 18:00:49 +0000 (0:00:00.037) 0:01:15.601 ********* 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 18:00:49 +0000 (0:00:00.024) 0:01:15.625 ********* 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 18:00:49 +0000 (0:00:00.039) 0:01:15.664 ********* 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 18:00:49 +0000 (0:00:00.024) 0:01:15.689 ********* 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 18:00:51 +0000 (0:00:01.858) 0:01:17.547 ********* 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 18:00:51 +0000 (0:00:00.024) 0:01:17.572 ********* 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 18:00:51 +0000 (0:00:00.023) 0:01:17.596 ********* 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 18:00:51 +0000 (0:00:00.088) 0:01:17.685 ********* 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 18:00:51 +0000 (0:00:00.058) 0:01:17.743 ********* 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 18:00:51 +0000 (0:00:00.024) 0:01:17.768 ********* 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 18:00:51 +0000 (0:00:00.025) 0:01:17.794 ********* 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 18:00:51 +0000 (0:00:00.025) 0:01:17.819 ********* 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 18:00:51 +0000 (0:00:00.024) 0:01:17.844 ********* 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 18:00:51 +0000 (0:00:00.048) 0:01:17.893 ********* 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 18:00:51 +0000 (0:00:00.054) 0:01:17.947 ********* 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 18:00:51 +0000 (0:00:00.042) 0:01:17.989 ********* 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 18:00:51 +0000 (0:00:00.036) 0:01:18.026 ********* 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 18:00:51 +0000 (0:00:00.035) 0:01:18.061 ********* 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 18:00:51 +0000 (0:00:00.036) 0:01:18.097 ********* 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 18:00:51 +0000 (0:00:00.040) 0:01:18.138 ********* 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 18:00:51 +0000 (0:00:00.036) 0:01:18.175 ********* 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 18:00:51 +0000 (0:00:00.034) 0:01:18.210 ********* 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 18:00:51 +0000 (0:00:00.040) 0:01:18.250 ********* 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 18:00:51 +0000 (0:00:00.044) 0:01:18.295 ********* 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 18:00:52 +0000 (0:00:00.038) 0:01:18.333 ********* 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 18:00:52 +0000 (0:00:00.035) 0:01:18.369 ********* 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 18:00:52 +0000 (0:00:00.022) 0:01:18.391 ********* 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 18:00:52 +0000 (0:00:00.037) 0:01:18.429 ********* 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 18:00:52 +0000 (0:00:00.034) 0:01:18.463 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:00:52 +0000 (0:00:00.032) 0:01:18.496 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:00:52 +0000 (0:00:00.037) 0:01:18.533 ********* 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 18:00:52 +0000 (0:00:00.041) 0:01:18.575 ********* 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 18:00:52 +0000 (0:00:00.036) 0:01:18.612 ********* 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 18:00:52 +0000 (0:00:00.040) 0:01:18.653 ********* 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 18:00:52 +0000 (0:00:00.042) 0:01:18.695 ********* 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 18:00:52 +0000 (0:00:00.040) 0:01:18.736 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:00:52 +0000 (0:00:00.033) 0:01:18.769 ********* 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 18:00:52 +0000 (0:00:00.025) 0:01:18.794 ********* 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 18:00:52 +0000 (0:00:00.024) 0:01:18.818 ********* 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 18:00:52 +0000 (0:00:00.025) 0:01:18.844 ********* 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 18:00:52 +0000 (0:00:00.029) 0:01:18.873 ********* 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 18:00:52 +0000 (0:00:00.026) 0:01:18.899 ********* 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 18:00:52 +0000 (0:00:00.025) 0:01:18.924 ********* 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 18:00:52 +0000 (0:00:00.026) 0:01:18.951 ********* 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 18:00:52 +0000 (0:00:00.024) 0:01:18.975 ********* 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 18:00:52 +0000 (0:00:00.034) 0:01:19.010 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Format second disk as ext3] ********************************************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:37 Thursday 21 July 2022 18:00:52 +0000 (0:00:00.034) 0:01:19.045 ********* 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 18:00:52 +0000 (0:00:00.051) 0:01:19.097 ********* 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 18:00:52 +0000 (0:00:00.035) 0:01:19.132 ********* 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 18:00:53 +0000 (0:00:00.596) 0:01:19.729 ********* 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 18:00:53 +0000 (0:00:00.064) 0:01:19.793 ********* 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 18:00:53 +0000 (0:00:00.035) 0:01:19.829 ********* 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 18:00:53 +0000 (0:00:00.035) 0:01:19.864 ********* 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 18:00:53 +0000 (0:00:00.047) 0:01:19.912 ********* 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 18:00:53 +0000 (0:00:00.021) 0:01:19.934 ********* 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 18:00:53 +0000 (0:00:00.028) 0:01:19.962 ********* 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 18:00:53 +0000 (0:00:00.037) 0:01:20.000 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "ext3", "mount_point": "none", "name": "test2", "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 18:00:53 +0000 (0:00:00.038) 0:01:20.038 ********* 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 18:00:53 +0000 (0:00:00.028) 0:01:20.067 ********* 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 18:00:53 +0000 (0:00:00.027) 0:01:20.095 ********* 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 18:00:53 +0000 (0:00:00.032) 0:01:20.127 ********* 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 18:00:53 +0000 (0:00:00.026) 0:01:20.154 ********* 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 18:00:53 +0000 (0:00:00.054) 0:01:20.209 ********* 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 18:00:53 +0000 (0:00:00.022) 0:01:20.231 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "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", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=5209869c-f44c-41dc-b5f1-d398b21c06f7", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 18:00:56 +0000 (0:00:02.479) 0:01:22.711 ********* 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 18:00:56 +0000 (0:00:00.035) 0:01:22.747 ********* 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 18:00:56 +0000 (0:00:00.020) 0:01:22.767 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "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", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=5209869c-f44c-41dc-b5f1-d398b21c06f7", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 18:00:56 +0000 (0:00:00.036) 0:01:22.804 ********* 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 18:00:56 +0000 (0:00:00.032) 0:01:22.837 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=5209869c-f44c-41dc-b5f1-d398b21c06f7", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 18:00:56 +0000 (0:00:00.038) 0:01:22.875 ********* 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 18:00:56 +0000 (0:00:00.033) 0:01:22.909 ********* 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 18:00:56 +0000 (0:00:00.024) 0:01:22.933 ********* 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 18:00:56 +0000 (0:00:00.037) 0:01:22.971 ********* 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 18:00:56 +0000 (0:00:00.025) 0:01:22.997 ********* 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 18:00:57 +0000 (0:00:00.417) 0:01:23.414 ********* 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 18:00:57 +0000 (0:00:00.049) 0:01:23.464 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:48 Thursday 21 July 2022 18:00:58 +0000 (0:00:00.971) 0:01:24.435 ********* 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 18:00:58 +0000 (0:00:00.047) 0:01:24.483 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 18:00:58 +0000 (0:00:00.038) 0:01:24.521 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=5209869c-f44c-41dc-b5f1-d398b21c06f7", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 18:00:58 +0000 (0:00:00.055) 0:01:24.577 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "41284aad-e4ff-42e6-afbb-c450c4a0635f" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "5209869c-f44c-41dc-b5f1-d398b21c06f7" }, "/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-17-59-21-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 18:00:58 +0000 (0:00:00.388) 0:01:24.965 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003551", "end": "2022-07-21 14:00:58.922175", "rc": 0, "start": "2022-07-21 14:00:58.918624" } 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=41284aad-e4ff-42e6-afbb-c450c4a0635f none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 18:00:59 +0000 (0:00:00.383) 0:01:25.348 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004807", "end": "2022-07-21 14:01:00.307003", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:00:59.302196" } 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 18:01:00 +0000 (0:00:01.384) 0:01:26.733 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 18:01:00 +0000 (0:00:00.021) 0:01:26.754 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sdb'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=5209869c-f44c-41dc-b5f1-d398b21c06f7', '_kernel_device': '/dev/sdb', '_raw_kernel_device': '/dev/sdb'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 18:01:00 +0000 (0:00:00.057) 0:01:26.812 ********* 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 18:01:00 +0000 (0:00:00.101) 0:01:26.914 ********* 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 18:01:00 +0000 (0:00:00.077) 0:01:26.991 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 18:01:00 +0000 (0:00:00.111) 0:01:27.102 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 18:01:00 +0000 (0:00:00.055) 0:01:27.157 ********* 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 18:01:00 +0000 (0:00:00.050) 0:01:27.208 ********* 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 18:01:00 +0000 (0:00:00.049) 0:01:27.257 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 18:01:00 +0000 (0:00:00.038) 0:01:27.296 ********* 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 18:01:01 +0000 (0:00:00.023) 0:01:27.320 ********* 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 18:01:01 +0000 (0:00:00.025) 0:01:27.346 ********* 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 18:01:01 +0000 (0:00:00.024) 0:01:27.370 ********* 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 18:01:01 +0000 (0:00:00.034) 0:01:27.405 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:01:01 +0000 (0:00:00.066) 0:01:27.471 ********* 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 18:01:01 +0000 (0:00:00.056) 0:01:27.528 ********* 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 18:01:01 +0000 (0:00:00.049) 0:01:27.578 ********* 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 18:01:01 +0000 (0:00:00.036) 0:01:27.614 ********* 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 18:01:01 +0000 (0:00:00.037) 0:01:27.652 ********* 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 18:01:01 +0000 (0:00:00.037) 0:01:27.690 ********* 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 18:01:01 +0000 (0:00:00.039) 0:01:27.729 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658426456.2349463, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658426456.2349463, "dev": 6, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1964, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658426456.2349463, "nlink": 1, "path": "/dev/sdb", "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 18:01:01 +0000 (0:00:00.410) 0:01:28.140 ********* 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 18:01:01 +0000 (0:00:00.039) 0:01:28.180 ********* 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 18:01:01 +0000 (0:00:00.039) 0:01:28.219 ********* 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 18:01:01 +0000 (0:00:00.039) 0:01:28.259 ********* 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 18:01:01 +0000 (0:00:00.028) 0:01:28.287 ********* 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 18:01:02 +0000 (0:00:00.039) 0:01:28.326 ********* 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 18:01:02 +0000 (0:00:00.024) 0:01:28.351 ********* 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 18:01:03 +0000 (0:00:01.360) 0:01:29.711 ********* 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 18:01:03 +0000 (0:00:00.024) 0:01:29.736 ********* 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 18:01:03 +0000 (0:00:00.021) 0:01:29.757 ********* 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 18:01:03 +0000 (0:00:00.076) 0:01:29.834 ********* 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 18:01:03 +0000 (0:00:00.022) 0:01:29.856 ********* 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 18:01:03 +0000 (0:00:00.023) 0:01:29.880 ********* 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 18:01:03 +0000 (0:00:00.023) 0:01:29.904 ********* 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 18:01:03 +0000 (0:00:00.028) 0:01:29.932 ********* 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 18:01:03 +0000 (0:00:00.061) 0:01:29.994 ********* 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 18:01:03 +0000 (0:00:00.052) 0:01:30.047 ********* 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 18:01:03 +0000 (0:00:00.050) 0:01:30.097 ********* 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 18:01:03 +0000 (0:00:00.040) 0:01:30.138 ********* 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 18:01:03 +0000 (0:00:00.037) 0:01:30.175 ********* 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 18:01:03 +0000 (0:00:00.037) 0:01:30.212 ********* 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 18:01:03 +0000 (0:00:00.036) 0:01:30.249 ********* 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 18:01:03 +0000 (0:00:00.040) 0:01:30.290 ********* 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 18:01:04 +0000 (0:00:00.034) 0:01:30.324 ********* 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 18:01:04 +0000 (0:00:00.036) 0:01:30.361 ********* 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 18:01:04 +0000 (0:00:00.035) 0:01:30.397 ********* 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 18:01:04 +0000 (0:00:00.036) 0:01:30.433 ********* 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 18:01:04 +0000 (0:00:00.036) 0:01:30.470 ********* 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 18:01:04 +0000 (0:00:00.037) 0:01:30.507 ********* 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 18:01:04 +0000 (0:00:00.024) 0:01:30.532 ********* 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 18:01:04 +0000 (0:00:00.042) 0:01:30.574 ********* 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 18:01:04 +0000 (0:00:00.035) 0:01:30.610 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:01:04 +0000 (0:00:00.046) 0:01:30.657 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:01:04 +0000 (0:00:00.035) 0:01:30.693 ********* 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 18:01:04 +0000 (0:00:00.044) 0:01:30.737 ********* 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 18:01:04 +0000 (0:00:00.037) 0:01:30.774 ********* 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 18:01:04 +0000 (0:00:00.036) 0:01:30.811 ********* 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 18:01:04 +0000 (0:00:00.036) 0:01:30.847 ********* 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 18:01:04 +0000 (0:00:00.039) 0:01:30.887 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:01:04 +0000 (0:00:00.034) 0:01:30.921 ********* 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 18:01:04 +0000 (0:00:00.022) 0:01:30.944 ********* 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 18:01:04 +0000 (0:00:00.022) 0:01:30.966 ********* 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 18:01:04 +0000 (0:00:00.025) 0:01:30.992 ********* 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 18:01:04 +0000 (0:00:00.026) 0:01:31.018 ********* 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 18:01:04 +0000 (0:00:00.024) 0:01:31.042 ********* 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 18:01:04 +0000 (0:00:00.026) 0:01:31.069 ********* 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 18:01:04 +0000 (0:00:00.026) 0:01:31.095 ********* 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 18:01:04 +0000 (0:00:00.024) 0:01:31.120 ********* 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 18:01:04 +0000 (0:00:00.035) 0:01:31.156 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device file system type to ext3] ************************* task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:50 Thursday 21 July 2022 18:01:04 +0000 (0:00:00.036) 0:01:31.192 ********* 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 18:01:04 +0000 (0:00:00.059) 0:01:31.251 ********* 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 18:01:04 +0000 (0:00:00.035) 0:01:31.287 ********* 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 18:01:05 +0000 (0:00:00.571) 0:01:31.858 ********* 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 18:01:05 +0000 (0:00:00.061) 0:01:31.919 ********* 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 18:01:05 +0000 (0:00:00.035) 0:01:31.955 ********* 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 18:01:05 +0000 (0:00:00.035) 0:01:31.991 ********* 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 18:01:05 +0000 (0:00:00.050) 0:01:32.042 ********* 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 18:01:05 +0000 (0:00:00.021) 0:01:32.063 ********* 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 18:01:05 +0000 (0:00:00.029) 0:01:32.093 ********* 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 18:01:05 +0000 (0:00:00.035) 0:01:32.128 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "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 18:01:05 +0000 (0:00:00.040) 0:01:32.168 ********* 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 18:01:05 +0000 (0:00:00.030) 0:01:32.199 ********* 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 18:01:05 +0000 (0:00:00.029) 0:01:32.228 ********* 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 18:01:05 +0000 (0:00:00.033) 0:01:32.262 ********* 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 18:01:05 +0000 (0:00:00.034) 0:01:32.296 ********* 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 18:01:06 +0000 (0:00:00.060) 0:01:32.356 ********* 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 18:01:06 +0000 (0:00:00.023) 0:01:32.380 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "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": "swap", "path": "none", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 18:01:08 +0000 (0:00:02.530) 0:01:34.911 ********* 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 18:01:08 +0000 (0:00:00.036) 0:01:34.947 ********* 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 18:01:08 +0000 (0:00:00.020) 0:01:34.968 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "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": "swap", "path": "none", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 18:01:08 +0000 (0:00:00.035) 0:01:35.003 ********* 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 18:01:08 +0000 (0:00:00.033) 0:01:35.037 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 18:01:08 +0000 (0:00:00.068) 0:01:35.106 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=41284aad-e4ff-42e6-afbb-c450c4a0635f" } 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 18:01:09 +0000 (0:00:00.752) 0:01:35.858 ********* 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 18:01:10 +0000 (0:00:00.678) 0:01:36.537 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6', 'path': '/opt/test', 'fstype': 'ext3', '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": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6" } 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 18:01:10 +0000 (0:00:00.499) 0:01:37.037 ********* 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 18:01:11 +0000 (0:00:00.658) 0:01:37.696 ********* 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 18:01:11 +0000 (0:00:00.427) 0:01:38.123 ********* 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 18:01:11 +0000 (0:00:00.022) 0:01:38.145 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:61 Thursday 21 July 2022 18:01:12 +0000 (0:00:00.979) 0:01:39.124 ********* 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 18:01:12 +0000 (0:00:00.046) 0:01:39.170 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 18:01:12 +0000 (0:00:00.040) 0:01:39.211 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 18:01:12 +0000 (0:00:00.049) 0:01:39.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": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "4c40e4a6-4b0e-4d86-881f-c72bdbd981e6" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "5209869c-f44c-41dc-b5f1-d398b21c06f7" }, "/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-17-59-21-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 18:01:13 +0000 (0:00:00.384) 0:01:39.645 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004092", "end": "2022-07-21 14:01:14.599457", "rc": 0, "start": "2022-07-21 14:01:13.595365" } 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=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 18:01:14 +0000 (0:00:01.388) 0:01:41.033 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003223", "end": "2022-07-21 14:01:14.994255", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:01:14.991032" } 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 18:01:15 +0000 (0:00:00.389) 0:01:41.422 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 18:01:15 +0000 (0:00:00.022) 0:01:41.445 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 18:01:15 +0000 (0:00:00.057) 0:01:41.502 ********* 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 18:01:15 +0000 (0:00:00.081) 0:01:41.584 ********* 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 18:01:15 +0000 (0:00:00.105) 0:01:41.690 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 18:01:15 +0000 (0:00:00.041) 0:01:41.732 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2563918, "block_used": 136846, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10501808128, "uuid": "4c40e4a6-4b0e-4d86-881f-c72bdbd981e6" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2563918, "block_used": 136846, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10501808128, "uuid": "4c40e4a6-4b0e-4d86-881f-c72bdbd981e6" } ], "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 18:01:15 +0000 (0:00:00.056) 0:01:41.788 ********* 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 18:01:15 +0000 (0:00:00.052) 0:01:41.840 ********* 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 18:01:15 +0000 (0:00:00.047) 0:01:41.888 ********* 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 18:01:15 +0000 (0:00:00.048) 0:01:41.936 ********* 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 18:01:15 +0000 (0:00:00.028) 0:01:41.965 ********* 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 18:01:15 +0000 (0:00:00.032) 0:01:41.997 ********* 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 18:01:15 +0000 (0:00:00.027) 0:01:42.024 ********* 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 18:01:15 +0000 (0:00:00.037) 0:01:42.062 ********* 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=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "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 18:01:15 +0000 (0:00:00.066) 0:01:42.129 ********* 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 18:01:15 +0000 (0:00:00.050) 0:01:42.179 ********* 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 18:01:15 +0000 (0:00:00.052) 0:01:42.232 ********* 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 18:01:15 +0000 (0:00:00.038) 0:01:42.271 ********* 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 18:01:16 +0000 (0:00:00.038) 0:01:42.310 ********* 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 18:01:16 +0000 (0:00:00.037) 0:01:42.348 ********* 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 18:01:16 +0000 (0:00:00.041) 0:01:42.390 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658426468.4289463, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658426468.4289463, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1963, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658426468.4289463, "nlink": 1, "path": "/dev/sda", "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 18:01:16 +0000 (0:00:00.393) 0:01:42.783 ********* 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 18:01:16 +0000 (0:00:00.038) 0:01:42.822 ********* 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 18:01:16 +0000 (0:00:00.040) 0:01:42.863 ********* 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 18:01:16 +0000 (0:00:00.037) 0:01:42.900 ********* 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 18:01:16 +0000 (0:00:00.025) 0:01:42.926 ********* 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 18:01:16 +0000 (0:00:00.038) 0:01:42.964 ********* 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 18:01:16 +0000 (0:00:00.023) 0:01:42.988 ********* 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 18:01:18 +0000 (0:00:01.436) 0:01:44.424 ********* 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 18:01:18 +0000 (0:00:00.024) 0:01:44.449 ********* 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 18:01:18 +0000 (0:00:00.024) 0:01:44.473 ********* 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 18:01:18 +0000 (0:00:00.052) 0:01:44.525 ********* 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 18:01:18 +0000 (0:00:00.023) 0:01:44.549 ********* 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 18:01:18 +0000 (0:00:00.023) 0:01:44.572 ********* 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 18:01:18 +0000 (0:00:00.023) 0:01:44.596 ********* 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 18:01:18 +0000 (0:00:00.024) 0:01:44.621 ********* 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 18:01:18 +0000 (0:00:00.023) 0:01:44.644 ********* 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 18:01:18 +0000 (0:00:00.097) 0:01:44.742 ********* 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 18:01:18 +0000 (0:00:00.051) 0:01:44.793 ********* 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 18:01:18 +0000 (0:00:00.037) 0:01:44.830 ********* 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 18:01:18 +0000 (0:00:00.037) 0:01:44.867 ********* 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 18:01:18 +0000 (0:00:00.038) 0:01:44.906 ********* 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 18:01:18 +0000 (0:00:00.075) 0:01:44.981 ********* 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 18:01:18 +0000 (0:00:00.036) 0:01:45.017 ********* 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 18:01:18 +0000 (0:00:00.039) 0:01:45.056 ********* 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 18:01:18 +0000 (0:00:00.039) 0:01:45.096 ********* 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 18:01:18 +0000 (0:00:00.037) 0:01:45.133 ********* 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 18:01:18 +0000 (0:00:00.036) 0:01:45.170 ********* 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 18:01:18 +0000 (0:00:00.036) 0:01:45.206 ********* 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 18:01:18 +0000 (0:00:00.039) 0:01:45.245 ********* 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 18:01:18 +0000 (0:00:00.023) 0:01:45.269 ********* 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 18:01:19 +0000 (0:00:00.036) 0:01:45.306 ********* 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 18:01:19 +0000 (0:00:00.036) 0:01:45.343 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:01:19 +0000 (0:00:00.039) 0:01:45.382 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:01:19 +0000 (0:00:00.035) 0:01:45.417 ********* 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 18:01:19 +0000 (0:00:00.033) 0:01:45.451 ********* 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 18:01:19 +0000 (0:00:00.033) 0:01:45.484 ********* 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 18:01:19 +0000 (0:00:00.034) 0:01:45.518 ********* 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 18:01:19 +0000 (0:00:00.032) 0:01:45.551 ********* 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 18:01:19 +0000 (0:00:00.037) 0:01:45.588 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:01:19 +0000 (0:00:00.033) 0:01:45.622 ********* 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 18:01:19 +0000 (0:00:00.022) 0:01:45.644 ********* 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 18:01:19 +0000 (0:00:00.023) 0:01:45.668 ********* 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 18:01:19 +0000 (0:00:00.023) 0:01:45.692 ********* 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 18:01:19 +0000 (0:00:00.023) 0:01:45.716 ********* 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 18:01:19 +0000 (0:00:00.025) 0:01:45.742 ********* 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 18:01:19 +0000 (0:00:00.022) 0:01:45.764 ********* 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 18:01:19 +0000 (0:00:00.024) 0:01:45.788 ********* 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 18:01:19 +0000 (0:00:00.024) 0:01:45.813 ********* 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 18:01:19 +0000 (0:00:00.037) 0:01:45.850 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:63 Thursday 21 July 2022 18:01:19 +0000 (0:00:00.035) 0:01:45.885 ********* 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 18:01:19 +0000 (0:00:00.059) 0:01:45.944 ********* 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 18:01:19 +0000 (0:00:00.034) 0:01:45.979 ********* 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 18:01:20 +0000 (0:00:00.533) 0:01:46.513 ********* 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 18:01:20 +0000 (0:00:00.091) 0:01:46.605 ********* 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 18:01:20 +0000 (0:00:00.069) 0:01:46.674 ********* 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 18:01:20 +0000 (0:00:00.032) 0:01:46.707 ********* 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 18:01:20 +0000 (0:00:00.044) 0:01:46.751 ********* 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 18:01:20 +0000 (0:00:00.018) 0:01:46.770 ********* 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 18:01:20 +0000 (0:00:00.029) 0:01:46.800 ********* 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 18:01:20 +0000 (0:00:00.037) 0:01:46.838 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "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 18:01:20 +0000 (0:00:00.039) 0:01:46.877 ********* 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 18:01:20 +0000 (0:00:00.031) 0:01:46.909 ********* 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 18:01:20 +0000 (0:00:00.029) 0:01:46.938 ********* 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 18:01:20 +0000 (0:00:00.034) 0:01:46.973 ********* 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 18:01:20 +0000 (0:00:00.034) 0:01:47.008 ********* 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 18:01:20 +0000 (0:00:00.059) 0:01:47.067 ********* 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 18:01:20 +0000 (0:00:00.022) 0:01:47.090 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 18:01:22 +0000 (0:00:01.413) 0:01:48.503 ********* 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 18:01:22 +0000 (0:00:00.038) 0:01:48.542 ********* 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 18:01:22 +0000 (0:00:00.022) 0:01:48.564 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 18:01:22 +0000 (0:00:00.037) 0:01:48.602 ********* 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 18:01:22 +0000 (0:00:00.039) 0:01:48.642 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 18:01:22 +0000 (0:00:00.034) 0:01:48.676 ********* 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 18:01:22 +0000 (0:00:00.035) 0:01:48.712 ********* 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 18:01:23 +0000 (0:00:00.631) 0:01:49.344 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6', 'path': '/opt/test', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6" } 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 18:01:23 +0000 (0:00:00.409) 0:01:49.753 ********* 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 18:01:24 +0000 (0:00:00.627) 0:01:50.380 ********* 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 18:01:24 +0000 (0:00:00.391) 0:01:50.772 ********* 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 18:01:24 +0000 (0:00:00.023) 0:01:50.795 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:74 Thursday 21 July 2022 18:01:25 +0000 (0:00:00.973) 0:01:51.769 ********* 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 18:01:25 +0000 (0:00:00.089) 0:01:51.858 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 18:01:25 +0000 (0:00:00.038) 0:01:51.896 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 18:01:25 +0000 (0:00:00.055) 0:01:51.952 ********* 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": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "4c40e4a6-4b0e-4d86-881f-c72bdbd981e6" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "5209869c-f44c-41dc-b5f1-d398b21c06f7" }, "/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-17-59-21-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 18:01:26 +0000 (0:00:00.395) 0:01:52.347 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004536", "end": "2022-07-21 14:01:27.303000", "rc": 0, "start": "2022-07-21 14:01:26.298464" } 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=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 18:01:27 +0000 (0:00:01.386) 0:01:53.734 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003066", "end": "2022-07-21 14:01:27.682092", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:01:27.679026" } 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 18:01:27 +0000 (0:00:00.375) 0:01:54.110 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 18:01:27 +0000 (0:00:00.022) 0:01:54.132 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 18:01:27 +0000 (0:00:00.061) 0:01:54.193 ********* 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 18:01:27 +0000 (0:00:00.049) 0:01:54.243 ********* 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 18:01:28 +0000 (0:00:00.074) 0:01:54.318 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 18:01:28 +0000 (0:00:00.072) 0:01:54.391 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2563918, "block_used": 136846, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10501808128, "uuid": "4c40e4a6-4b0e-4d86-881f-c72bdbd981e6" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2563918, "block_used": 136846, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10501808128, "uuid": "4c40e4a6-4b0e-4d86-881f-c72bdbd981e6" } ], "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 18:01:28 +0000 (0:00:00.056) 0:01:54.448 ********* 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 18:01:28 +0000 (0:00:00.081) 0:01:54.529 ********* 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 18:01:28 +0000 (0:00:00.120) 0:01:54.649 ********* 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 18:01:28 +0000 (0:00:00.050) 0:01:54.699 ********* 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 18:01:28 +0000 (0:00:00.024) 0:01:54.724 ********* 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 18:01:28 +0000 (0:00:00.024) 0:01:54.748 ********* 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 18:01:28 +0000 (0:00:00.027) 0:01:54.775 ********* 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 18:01:28 +0000 (0:00:00.036) 0:01:54.811 ********* 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=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "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 18:01:28 +0000 (0:00:00.062) 0:01:54.874 ********* 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 18:01:28 +0000 (0:00:00.050) 0:01:54.924 ********* 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 18:01:28 +0000 (0:00:00.050) 0:01:54.975 ********* 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 18:01:28 +0000 (0:00:00.037) 0:01:55.013 ********* 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 18:01:28 +0000 (0:00:00.036) 0:01:55.049 ********* 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 18:01:28 +0000 (0:00:00.040) 0:01:55.090 ********* 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 18:01:28 +0000 (0:00:00.041) 0:01:55.131 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658426468.4289463, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658426468.4289463, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1963, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658426468.4289463, "nlink": 1, "path": "/dev/sda", "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 18:01:29 +0000 (0:00:00.385) 0:01:55.516 ********* 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 18:01:29 +0000 (0:00:00.040) 0:01:55.557 ********* 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 18:01:29 +0000 (0:00:00.040) 0:01:55.597 ********* 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 18:01:29 +0000 (0:00:00.036) 0:01:55.634 ********* 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 18:01:29 +0000 (0:00:00.024) 0:01:55.658 ********* 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 18:01:29 +0000 (0:00:00.041) 0:01:55.699 ********* 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 18:01:29 +0000 (0:00:00.024) 0:01:55.724 ********* 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 18:01:30 +0000 (0:00:01.377) 0:01:57.102 ********* 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 18:01:30 +0000 (0:00:00.025) 0:01:57.128 ********* 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 18:01:30 +0000 (0:00:00.024) 0:01:57.152 ********* 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 18:01:30 +0000 (0:00:00.053) 0:01:57.206 ********* 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 18:01:30 +0000 (0:00:00.026) 0:01:57.232 ********* 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 18:01:30 +0000 (0:00:00.024) 0:01:57.257 ********* 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 18:01:30 +0000 (0:00:00.024) 0:01:57.281 ********* 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 18:01:31 +0000 (0:00:00.026) 0:01:57.307 ********* 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 18:01:31 +0000 (0:00:00.026) 0:01:57.333 ********* 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 18:01:31 +0000 (0:00:00.048) 0:01:57.382 ********* 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 18:01:31 +0000 (0:00:00.074) 0:01:57.457 ********* 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 18:01:31 +0000 (0:00:00.034) 0:01:57.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 18:01:31 +0000 (0:00:00.063) 0:01:57.555 ********* 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 18:01:31 +0000 (0:00:00.034) 0:01:57.591 ********* 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 18:01:31 +0000 (0:00:00.036) 0:01:57.627 ********* 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 18:01:31 +0000 (0:00:00.036) 0:01:57.663 ********* 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 18:01:31 +0000 (0:00:00.037) 0:01:57.701 ********* 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 18:01:31 +0000 (0:00:00.038) 0:01:57.739 ********* 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 18:01:31 +0000 (0:00:00.036) 0:01:57.776 ********* 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 18:01:31 +0000 (0:00:00.037) 0:01:57.814 ********* 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 18:01:31 +0000 (0:00:00.037) 0:01:57.851 ********* 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 18:01:31 +0000 (0:00:00.037) 0:01:57.889 ********* 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 18:01:31 +0000 (0:00:00.027) 0:01:57.916 ********* 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 18:01:31 +0000 (0:00:00.043) 0:01:57.959 ********* 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 18:01:31 +0000 (0:00:00.040) 0:01:58.000 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:01:31 +0000 (0:00:00.040) 0:01:58.041 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:01:31 +0000 (0:00:00.038) 0:01:58.079 ********* 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 18:01:31 +0000 (0:00:00.038) 0:01:58.118 ********* 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 18:01:31 +0000 (0:00:00.035) 0:01:58.153 ********* 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 18:01:31 +0000 (0:00:00.047) 0:01:58.201 ********* 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 18:01:31 +0000 (0:00:00.043) 0:01:58.244 ********* 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 18:01:31 +0000 (0:00:00.045) 0:01:58.290 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:01:32 +0000 (0:00:00.038) 0:01:58.328 ********* 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 18:01:32 +0000 (0:00:00.025) 0:01:58.353 ********* 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 18:01:32 +0000 (0:00:00.025) 0:01:58.379 ********* 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 18:01:32 +0000 (0:00:00.026) 0:01:58.405 ********* 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 18:01:32 +0000 (0:00:00.024) 0:01:58.430 ********* 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 18:01:32 +0000 (0:00:00.024) 0:01:58.454 ********* 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 18:01:32 +0000 (0:00:00.023) 0:01:58.477 ********* 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 18:01:32 +0000 (0:00:00.024) 0:01:58.502 ********* 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 18:01:32 +0000 (0:00:00.023) 0:01:58.526 ********* 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 18:01:32 +0000 (0:00:00.035) 0:01:58.561 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change it back to swap] ************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:76 Thursday 21 July 2022 18:01:32 +0000 (0:00:00.035) 0:01:58.596 ********* 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 18:01:32 +0000 (0:00:00.063) 0:01:58.660 ********* 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 18:01:32 +0000 (0:00:00.035) 0:01:58.695 ********* 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 18:01:32 +0000 (0:00:00.568) 0:01:59.264 ********* 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 18:01:33 +0000 (0:00:00.063) 0:01:59.327 ********* 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 18:01:33 +0000 (0:00:00.034) 0:01:59.362 ********* 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 18:01:33 +0000 (0:00:00.036) 0:01:59.399 ********* 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 18:01:33 +0000 (0:00:00.048) 0:01:59.447 ********* 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 18:01:33 +0000 (0:00:00.021) 0:01:59.468 ********* 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 18:01:33 +0000 (0:00:00.027) 0:01:59.496 ********* 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 18:01:33 +0000 (0:00:00.032) 0:01:59.529 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 18:01:33 +0000 (0:00:00.034) 0:01:59.564 ********* 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 18:01:33 +0000 (0:00:00.025) 0:01:59.589 ********* 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 18:01:33 +0000 (0:00:00.030) 0:01:59.620 ********* 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 18:01:33 +0000 (0:00:00.026) 0:01:59.646 ********* 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 18:01:33 +0000 (0:00:00.026) 0:01:59.673 ********* 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 18:01:33 +0000 (0:00:00.059) 0:01:59.732 ********* 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 18:01:33 +0000 (0:00:00.023) 0:01:59.756 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "ext3", "path": "/opt/test", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "present" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 18:01:34 +0000 (0:00:01.490) 0:02:01.246 ********* 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 18:01:34 +0000 (0:00:00.038) 0:02:01.285 ********* 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 18:01:35 +0000 (0:00:00.022) 0:02:01.308 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "ext3", "path": "/opt/test", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "present" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 18:01:35 +0000 (0:00:00.039) 0:02:01.348 ********* 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 18:01:35 +0000 (0:00:00.041) 0:02:01.390 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 18:01:35 +0000 (0:00:00.038) 0:02:01.428 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6', 'path': '/opt/test', 'state': 'absent', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=4c40e4a6-4b0e-4d86-881f-c72bdbd981e6" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'path': '/opt/test', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0" } 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 18:01:35 +0000 (0:00:00.822) 0:02:02.251 ********* 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 18:01:36 +0000 (0:00:00.644) 0:02:02.896 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf" } 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 18:01:37 +0000 (0:00:00.456) 0:02:03.352 ********* 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 18:01:37 +0000 (0:00:00.622) 0:02:03.975 ********* 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 18:01:38 +0000 (0:00:00.383) 0:02:04.359 ********* 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 18:01:38 +0000 (0:00:00.025) 0:02:04.385 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:86 Thursday 21 July 2022 18:01:39 +0000 (0:00:01.066) 0:02:05.452 ********* 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 18:01:39 +0000 (0:00:00.089) 0:02:05.542 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 18:01:39 +0000 (0:00:00.036) 0:02:05.578 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 18:01:39 +0000 (0:00:00.052) 0:02:05.631 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "e4a821e1-7a48-4338-9e2d-d0eb368df4cf" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "5209869c-f44c-41dc-b5f1-d398b21c06f7" }, "/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-17-59-21-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 18:01:39 +0000 (0:00:00.374) 0:02:06.006 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003114", "end": "2022-07-21 14:01:39.947942", "rc": 0, "start": "2022-07-21 14:01:39.944828" } 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=e4a821e1-7a48-4338-9e2d-d0eb368df4cf none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 18:01:40 +0000 (0:00:00.370) 0:02:06.377 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002991", "end": "2022-07-21 14:01:40.328745", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:01:40.325754" } 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 18:01:40 +0000 (0:00:00.377) 0:02:06.754 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 18:01:40 +0000 (0:00:00.022) 0:02:06.777 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 18:01:40 +0000 (0:00:00.059) 0:02:06.836 ********* 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 18:01:40 +0000 (0:00:00.050) 0:02:06.887 ********* 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 18:01:40 +0000 (0:00:00.075) 0:02:06.962 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 18:01:40 +0000 (0:00:00.042) 0:02:07.004 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 18:01:40 +0000 (0:00:00.058) 0:02:07.063 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:01:40 +0000 (0:00:00.023) 0:02:07.086 ********* 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 18:01:40 +0000 (0:00:00.049) 0:02:07.135 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 18:01:40 +0000 (0:00:00.036) 0:02:07.172 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:01.004175", "end": "2022-07-21 14:01:42.137188", "rc": 0, "start": "2022-07-21 14:01:41.133013" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 18:01:42 +0000 (0:00:01.394) 0:02:08.566 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002473", "end": "2022-07-21 14:01:42.555707", "rc": 0, "start": "2022-07-21 14:01:42.553234" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 18:01:42 +0000 (0:00:00.414) 0:02:08.981 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 18:01:42 +0000 (0:00:00.084) 0:02:09.066 ********* 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 18:01:42 +0000 (0:00:00.073) 0:02:09.139 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:01:42 +0000 (0:00:00.094) 0:02:09.234 ********* 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 18:01:42 +0000 (0:00:00.049) 0:02:09.284 ********* 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 18:01:43 +0000 (0:00:00.051) 0:02:09.336 ********* 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 18:01:43 +0000 (0:00:00.040) 0:02:09.376 ********* 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 18:01:43 +0000 (0:00:00.035) 0:02:09.412 ********* 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 18:01:43 +0000 (0:00:00.041) 0:02:09.453 ********* 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 18:01:43 +0000 (0:00:00.042) 0:02:09.496 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658426494.7589462, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658426494.7339463, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1963, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658426494.7339463, "nlink": 1, "path": "/dev/sda", "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 18:01:43 +0000 (0:00:00.401) 0:02:09.897 ********* 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 18:01:43 +0000 (0:00:00.038) 0:02:09.936 ********* 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 18:01:43 +0000 (0:00:00.040) 0:02:09.976 ********* 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 18:01:43 +0000 (0:00:00.039) 0:02:10.016 ********* 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 18:01:43 +0000 (0:00:00.024) 0:02:10.041 ********* 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 18:01:43 +0000 (0:00:00.040) 0:02:10.081 ********* 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 18:01:43 +0000 (0:00:00.024) 0:02:10.106 ********* 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 18:01:45 +0000 (0:00:01.436) 0:02:11.542 ********* 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 18:01:45 +0000 (0:00:00.027) 0:02:11.570 ********* 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 18:01:45 +0000 (0:00:00.025) 0:02:11.596 ********* 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 18:01:45 +0000 (0:00:00.054) 0:02:11.650 ********* 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 18:01:45 +0000 (0:00:00.024) 0:02:11.675 ********* 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 18:01:45 +0000 (0:00:00.025) 0:02:11.701 ********* 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 18:01:45 +0000 (0:00:00.026) 0:02:11.727 ********* 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 18:01:45 +0000 (0:00:00.024) 0:02:11.752 ********* 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 18:01:45 +0000 (0:00:00.023) 0:02:11.776 ********* 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 18:01:45 +0000 (0:00:00.051) 0:02:11.827 ********* 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 18:01:45 +0000 (0:00:00.051) 0:02:11.879 ********* 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 18:01:45 +0000 (0:00:00.038) 0:02:11.918 ********* 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 18:01:45 +0000 (0:00:00.038) 0:02:11.956 ********* 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 18:01:45 +0000 (0:00:00.041) 0:02:11.997 ********* 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 18:01:45 +0000 (0:00:00.040) 0:02:12.038 ********* 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 18:01:45 +0000 (0:00:00.040) 0:02:12.078 ********* 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 18:01:45 +0000 (0:00:00.038) 0:02:12.117 ********* 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 18:01:45 +0000 (0:00:00.041) 0:02:12.159 ********* 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 18:01:45 +0000 (0:00:00.037) 0:02:12.196 ********* 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 18:01:45 +0000 (0:00:00.037) 0:02:12.234 ********* 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 18:01:45 +0000 (0:00:00.037) 0:02:12.272 ********* 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 18:01:46 +0000 (0:00:00.042) 0:02:12.314 ********* 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 18:01:46 +0000 (0:00:00.026) 0:02:12.341 ********* 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 18:01:46 +0000 (0:00:00.038) 0:02:12.380 ********* 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 18:01:46 +0000 (0:00:00.037) 0:02:12.417 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:01:46 +0000 (0:00:00.080) 0:02:12.497 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:01:46 +0000 (0:00:00.035) 0:02:12.533 ********* 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 18:01:46 +0000 (0:00:00.038) 0:02:12.571 ********* 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 18:01:46 +0000 (0:00:00.038) 0:02:12.609 ********* 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 18:01:46 +0000 (0:00:00.073) 0:02:12.683 ********* 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 18:01:46 +0000 (0:00:00.037) 0:02:12.721 ********* 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 18:01:46 +0000 (0:00:00.037) 0:02:12.758 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:01:46 +0000 (0:00:00.035) 0:02:12.793 ********* 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 18:01:46 +0000 (0:00:00.021) 0:02:12.815 ********* 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 18:01:46 +0000 (0:00:00.021) 0:02:12.836 ********* 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 18:01:46 +0000 (0:00:00.021) 0:02:12.857 ********* 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 18:01:46 +0000 (0:00:00.022) 0:02:12.880 ********* 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 18:01:46 +0000 (0:00:00.021) 0:02:12.901 ********* 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 18:01:46 +0000 (0:00:00.023) 0:02:12.925 ********* 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 18:01:46 +0000 (0:00:00.025) 0:02:12.950 ********* 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 18:01:46 +0000 (0:00:00.026) 0:02:12.977 ********* 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 18:01:46 +0000 (0:00:00.034) 0:02:13.012 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:88 Thursday 21 July 2022 18:01:46 +0000 (0:00:00.036) 0:02:13.049 ********* 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 18:01:46 +0000 (0:00:00.070) 0:02:13.119 ********* 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 18:01:46 +0000 (0:00:00.037) 0:02:13.157 ********* 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 18:01:47 +0000 (0:00:00.534) 0:02:13.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 18:01:47 +0000 (0:00:00.061) 0:02:13.752 ********* 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 18:01:47 +0000 (0:00:00.035) 0:02:13.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 18:01:47 +0000 (0:00:00.035) 0:02:13.823 ********* 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 18:01:47 +0000 (0:00:00.054) 0:02:13.877 ********* 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 18:01:47 +0000 (0:00:00.020) 0:02:13.898 ********* 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 18:01:47 +0000 (0:00:00.028) 0:02:13.926 ********* 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 18:01:47 +0000 (0:00:00.032) 0:02:13.958 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 18:01:47 +0000 (0:00:00.034) 0:02:13.993 ********* 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 18:01:47 +0000 (0:00:00.026) 0:02:14.019 ********* 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 18:01:47 +0000 (0:00:00.027) 0:02:14.046 ********* 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 18:01:47 +0000 (0:00:00.030) 0:02:14.077 ********* 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 18:01:47 +0000 (0:00:00.030) 0:02:14.107 ********* 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 18:01:47 +0000 (0:00:00.116) 0:02:14.223 ********* 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 18:01:47 +0000 (0:00:00.063) 0:02:14.287 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "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": "swap", "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "present" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 18:01:49 +0000 (0:00:01.127) 0:02:15.414 ********* 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 18:01:49 +0000 (0:00:00.040) 0:02:15.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 18:01:49 +0000 (0:00:00.023) 0:02:15.479 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "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": "swap", "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "present" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 18:01:49 +0000 (0:00:00.039) 0:02:15.518 ********* 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 18:01:49 +0000 (0:00:00.039) 0:02:15.557 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 18:01:49 +0000 (0:00:00.036) 0:02:15.594 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf" } 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 18:01:49 +0000 (0:00:00.409) 0:02:16.003 ********* 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 18:01:50 +0000 (0:00:00.609) 0:02:16.613 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf" } 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 18:01:50 +0000 (0:00:00.407) 0:02:17.020 ********* 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 18:01:51 +0000 (0:00:00.603) 0:02:17.623 ********* 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 18:01:51 +0000 (0:00:00.389) 0:02:18.013 ********* 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 18:01:51 +0000 (0:00:00.025) 0:02:18.039 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:98 Thursday 21 July 2022 18:01:52 +0000 (0:00:00.976) 0:02:19.015 ********* 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 18:01:52 +0000 (0:00:00.053) 0:02:19.069 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 18:01:52 +0000 (0:00:00.036) 0:02:19.105 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 18:01:52 +0000 (0:00:00.115) 0:02:19.221 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "e4a821e1-7a48-4338-9e2d-d0eb368df4cf" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "5209869c-f44c-41dc-b5f1-d398b21c06f7" }, "/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-17-59-21-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 18:01:53 +0000 (0:00:00.388) 0:02:19.610 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004177", "end": "2022-07-21 14:01:54.572419", "rc": 0, "start": "2022-07-21 14:01:53.568242" } 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=e4a821e1-7a48-4338-9e2d-d0eb368df4cf none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 18:01:54 +0000 (0:00:01.395) 0:02:21.006 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003669", "end": "2022-07-21 14:01:54.968043", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:01:54.964374" } 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 18:01:55 +0000 (0:00:00.392) 0:02:21.399 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 18:01:55 +0000 (0:00:00.023) 0:02:21.422 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 18:01:55 +0000 (0:00:00.061) 0:02:21.484 ********* 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 18:01:55 +0000 (0:00:00.049) 0:02:21.534 ********* 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 18:01:55 +0000 (0:00:00.075) 0:02:21.609 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 18:01:55 +0000 (0:00:00.042) 0:02:21.651 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 18:01:55 +0000 (0:00:00.060) 0:02:21.712 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:01:55 +0000 (0:00:00.024) 0:02:21.736 ********* 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 18:01:55 +0000 (0:00:00.051) 0:02:21.788 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 18:01:55 +0000 (0:00:00.036) 0:02:21.824 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002888", "end": "2022-07-21 14:01:55.803016", "rc": 0, "start": "2022-07-21 14:01:55.800128" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 18:01:55 +0000 (0:00:00.405) 0:02:22.230 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003299", "end": "2022-07-21 14:01:56.221779", "rc": 0, "start": "2022-07-21 14:01:56.218480" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 18:01:56 +0000 (0:00:00.427) 0:02:22.657 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 18:01:56 +0000 (0:00:00.080) 0:02:22.738 ********* 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 18:01:56 +0000 (0:00:00.065) 0:02:22.803 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:01:56 +0000 (0:00:00.061) 0:02:22.864 ********* 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 18:01:56 +0000 (0:00:00.081) 0:02:22.946 ********* 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 18:01:56 +0000 (0:00:00.119) 0:02:23.065 ********* 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 18:01:56 +0000 (0:00:00.036) 0:02:23.102 ********* 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 18:01:56 +0000 (0:00:00.033) 0:02:23.135 ********* 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 18:01:56 +0000 (0:00:00.037) 0:02:23.173 ********* 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 18:01:56 +0000 (0:00:00.044) 0:02:23.217 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658426494.7589462, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658426494.7339463, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1963, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658426494.7339463, "nlink": 1, "path": "/dev/sda", "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 18:01:57 +0000 (0:00:00.447) 0:02:23.665 ********* 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 18:01:57 +0000 (0:00:00.038) 0:02:23.704 ********* 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 18:01:57 +0000 (0:00:00.048) 0:02:23.753 ********* 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 18:01:57 +0000 (0:00:00.044) 0:02:23.797 ********* 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 18:01:57 +0000 (0:00:00.026) 0:02:23.824 ********* 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 18:01:57 +0000 (0:00:00.042) 0:02:23.866 ********* 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 18:01:57 +0000 (0:00:00.028) 0:02:23.895 ********* 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 18:01:58 +0000 (0:00:01.270) 0:02:25.165 ********* 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 18:01:58 +0000 (0:00:00.025) 0:02:25.191 ********* 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 18:01:58 +0000 (0:00:00.025) 0:02:25.216 ********* 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 18:01:58 +0000 (0:00:00.059) 0:02:25.276 ********* 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 18:01:59 +0000 (0:00:00.026) 0:02:25.302 ********* 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 18:01:59 +0000 (0:00:00.024) 0:02:25.327 ********* 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 18:01:59 +0000 (0:00:00.024) 0:02:25.352 ********* 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 18:01:59 +0000 (0:00:00.026) 0:02:25.378 ********* 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 18:01:59 +0000 (0:00:00.024) 0:02:25.403 ********* 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 18:01:59 +0000 (0:00:00.050) 0:02:25.453 ********* 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 18:01:59 +0000 (0:00:00.060) 0:02:25.514 ********* 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 18:01:59 +0000 (0:00:00.044) 0:02:25.559 ********* 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 18:01:59 +0000 (0:00:00.037) 0:02:25.596 ********* 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 18:01:59 +0000 (0:00:00.037) 0:02:25.633 ********* 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 18:01:59 +0000 (0:00:00.039) 0:02:25.672 ********* 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 18:01:59 +0000 (0:00:00.037) 0:02:25.710 ********* 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 18:01:59 +0000 (0:00:00.037) 0:02:25.747 ********* 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 18:01:59 +0000 (0:00:00.037) 0:02:25.785 ********* 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 18:01:59 +0000 (0:00:00.043) 0:02:25.828 ********* 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 18:01:59 +0000 (0:00:00.037) 0:02:25.866 ********* 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 18:01:59 +0000 (0:00:00.037) 0:02:25.904 ********* 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 18:01:59 +0000 (0:00:00.037) 0:02:25.942 ********* 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 18:01:59 +0000 (0:00:00.027) 0:02:25.969 ********* 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 18:01:59 +0000 (0:00:00.037) 0:02:26.006 ********* 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 18:01:59 +0000 (0:00:00.037) 0:02:26.044 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:01:59 +0000 (0:00:00.077) 0:02:26.122 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:01:59 +0000 (0:00:00.083) 0:02:26.206 ********* 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 18:01:59 +0000 (0:00:00.039) 0:02:26.245 ********* 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 18:01:59 +0000 (0:00:00.039) 0:02:26.285 ********* 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 18:02:00 +0000 (0:00:00.040) 0:02:26.326 ********* 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 18:02:00 +0000 (0:00:00.036) 0:02:26.362 ********* 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 18:02:00 +0000 (0:00:00.043) 0:02:26.405 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:02:00 +0000 (0:00:00.038) 0:02:26.444 ********* 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 18:02:00 +0000 (0:00:00.028) 0:02:26.472 ********* 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 18:02:00 +0000 (0:00:00.025) 0:02:26.498 ********* 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 18:02:00 +0000 (0:00:00.024) 0:02:26.523 ********* 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 18:02:00 +0000 (0:00:00.024) 0:02:26.547 ********* 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 18:02:00 +0000 (0:00:00.024) 0:02:26.571 ********* 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 18:02:00 +0000 (0:00:00.022) 0:02:26.594 ********* 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 18:02:00 +0000 (0:00:00.022) 0:02:26.616 ********* 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 18:02:00 +0000 (0:00:00.021) 0:02:26.638 ********* 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 18:02:00 +0000 (0:00:00.034) 0:02:26.673 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:100 Thursday 21 July 2022 18:02:00 +0000 (0:00:00.032) 0:02:26.705 ********* 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 18:02:00 +0000 (0:00:00.088) 0:02:26.794 ********* 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 18:02:00 +0000 (0:00:00.039) 0:02:26.833 ********* 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 18:02:01 +0000 (0:00:00.546) 0:02:27.379 ********* 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 18:02:01 +0000 (0:00:00.063) 0:02:27.442 ********* 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 18:02:01 +0000 (0:00:00.035) 0:02:27.478 ********* 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 18:02:01 +0000 (0:00:00.036) 0:02:27.515 ********* 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 18:02:01 +0000 (0:00:00.048) 0:02:27.563 ********* 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 18:02:01 +0000 (0:00:00.021) 0:02:27.585 ********* 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 18:02:01 +0000 (0:00:00.030) 0:02:27.615 ********* 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 18:02:01 +0000 (0:00:00.037) 0:02:27.652 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "mount_point": "/opt/test", "name": "test1", "state": "absent", "type": "disk" }, { "disks": [ "sdb" ], "mount_point": "none", "name": "test2", "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 18:02:01 +0000 (0:00:00.037) 0:02:27.689 ********* 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 18:02:01 +0000 (0:00:00.029) 0:02:27.719 ********* 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 18:02:01 +0000 (0:00:00.029) 0:02:27.748 ********* 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 18:02:01 +0000 (0:00:00.077) 0:02:27.826 ********* 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 18:02:01 +0000 (0:00:00.029) 0:02:27.855 ********* 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 18:02:01 +0000 (0:00:00.060) 0:02:27.916 ********* 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 18:02:01 +0000 (0:00:00.025) 0:02:27.941 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "swap", "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=5209869c-f44c-41dc-b5f1-d398b21c06f7", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 18:02:03 +0000 (0:00:01.382) 0:02:29.323 ********* 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 18:02:03 +0000 (0:00:00.036) 0:02:29.359 ********* 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 18:02:03 +0000 (0:00:00.021) 0:02:29.381 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "swap", "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=5209869c-f44c-41dc-b5f1-d398b21c06f7", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 18:02:03 +0000 (0:00:00.039) 0:02:29.420 ********* 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 18:02:03 +0000 (0:00:00.038) 0:02:29.459 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=5209869c-f44c-41dc-b5f1-d398b21c06f7", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 18:02:03 +0000 (0:00:00.040) 0:02:29.499 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf" } 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 18:02:03 +0000 (0:00:00.419) 0:02:29.919 ********* 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 18:02:04 +0000 (0:00:00.634) 0:02:30.553 ********* 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 18:02:04 +0000 (0:00:00.038) 0:02:30.592 ********* 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 18:02:04 +0000 (0:00:00.635) 0:02:31.228 ********* 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 18:02:05 +0000 (0:00:00.376) 0:02:31.604 ********* 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 18:02:05 +0000 (0:00:00.022) 0:02:31.627 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_swap.yml:116 Thursday 21 July 2022 18:02:06 +0000 (0:00:00.991) 0:02:32.618 ********* 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 18:02:06 +0000 (0:00:00.058) 0:02:32.677 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 18:02:06 +0000 (0:00:00.037) 0:02:32.714 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=5209869c-f44c-41dc-b5f1-d398b21c06f7", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 18:02:06 +0000 (0:00:00.082) 0:02:32.797 ********* 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-17-59-21-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 18:02:06 +0000 (0:00:00.413) 0:02:33.210 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002543", "end": "2022-07-21 14:02:07.150696", "rc": 0, "start": "2022-07-21 14:02:07.148153" } 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 18:02:07 +0000 (0:00:00.364) 0:02:33.575 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002863", "end": "2022-07-21 14:02:07.525428", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:02:07.522565" } 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 18:02:07 +0000 (0:00:00.377) 0:02:33.953 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 18:02:07 +0000 (0:00:00.023) 0:02:33.976 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=e4a821e1-7a48-4338-9e2d-d0eb368df4cf'}) 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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sdb'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=5209869c-f44c-41dc-b5f1-d398b21c06f7'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 18:02:07 +0000 (0:00:00.065) 0:02:34.042 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 18:02:07 +0000 (0:00:00.050) 0:02:34.093 ********* 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 18:02:07 +0000 (0:00:00.080) 0:02:34.174 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 18:02:07 +0000 (0:00:00.043) 0:02:34.217 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 18:02:07 +0000 (0:00:00.059) 0:02:34.277 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:02:08 +0000 (0:00:00.023) 0:02:34.301 ********* 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 18:02:08 +0000 (0:00:00.049) 0:02:34.351 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 18:02:08 +0000 (0:00:00.034) 0:02:34.385 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002802", "end": "2022-07-21 14:02:08.346798", "rc": 0, "start": "2022-07-21 14:02:08.343996" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 18:02:08 +0000 (0:00:00.388) 0:02:34.773 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:01.004121", "end": "2022-07-21 14:02:09.740041", "rc": 0, "start": "2022-07-21 14:02:08.735920" } STDOUT: Filename Type Size Used Priority TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 18:02:09 +0000 (0:00:01.399) 0:02:36.173 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 18:02:09 +0000 (0:00:00.054) 0:02:36.228 ********* 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 18:02:09 +0000 (0:00:00.036) 0:02:36.264 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:02:10 +0000 (0:00:00.061) 0:02:36.326 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 18:02:10 +0000 (0:00:00.024) 0:02:36.350 ********* 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 18:02:10 +0000 (0:00:00.049) 0:02:36.400 ********* 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 18:02:10 +0000 (0:00:00.040) 0:02:36.440 ********* 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 18:02:10 +0000 (0:00:00.034) 0:02:36.474 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:02:10 +0000 (0:00:00.024) 0:02:36.499 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:02:10 +0000 (0:00:00.024) 0:02:36.523 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658426522.8299463, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658426522.8299463, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1963, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658426522.8299463, "nlink": 1, "path": "/dev/sda", "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 18:02:10 +0000 (0:00:00.412) 0:02:36.935 ********* 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 18:02:10 +0000 (0:00:00.087) 0:02:37.022 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 18:02:10 +0000 (0:00:00.024) 0:02:37.046 ********* 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 18:02:10 +0000 (0:00:00.036) 0:02:37.082 ********* 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 18:02:10 +0000 (0:00:00.025) 0:02:37.108 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:02:10 +0000 (0:00:00.025) 0:02:37.133 ********* 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 18:02:10 +0000 (0:00:00.023) 0:02:37.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 18:02:12 +0000 (0:00:01.454) 0:02:38.611 ********* 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 18:02:12 +0000 (0:00:00.025) 0:02:38.636 ********* 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 18:02:12 +0000 (0:00:00.024) 0:02:38.661 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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 18:02:12 +0000 (0:00:00.023) 0:02:38.685 ********* 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 18:02:12 +0000 (0:00:00.023) 0:02:38.709 ********* 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 18:02:12 +0000 (0:00:00.024) 0:02:38.733 ********* 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 18:02:12 +0000 (0:00:00.023) 0:02:38.757 ********* 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 18:02:12 +0000 (0:00:00.021) 0:02:38.778 ********* 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 18:02:12 +0000 (0:00:00.021) 0:02:38.800 ********* 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 18:02:12 +0000 (0:00:00.051) 0:02:38.851 ********* 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 18:02:12 +0000 (0:00:00.045) 0:02:38.897 ********* 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 18:02:12 +0000 (0:00:00.033) 0:02:38.930 ********* 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 18:02:12 +0000 (0:00:00.035) 0:02:38.966 ********* 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 18:02:12 +0000 (0:00:00.041) 0:02:39.007 ********* 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 18:02:12 +0000 (0:00:00.034) 0:02:39.042 ********* 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 18:02:12 +0000 (0:00:00.036) 0:02:39.078 ********* 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 18:02:12 +0000 (0:00:00.043) 0:02:39.122 ********* 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 18:02:12 +0000 (0:00:00.040) 0:02:39.163 ********* 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 18:02:12 +0000 (0:00:00.036) 0:02:39.199 ********* 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 18:02:12 +0000 (0:00:00.037) 0:02:39.237 ********* 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 18:02:12 +0000 (0:00:00.036) 0:02:39.274 ********* 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 18:02:13 +0000 (0:00:00.041) 0:02:39.315 ********* 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 18:02:13 +0000 (0:00:00.029) 0:02:39.345 ********* 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 18:02:13 +0000 (0:00:00.044) 0:02:39.389 ********* 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 18:02:13 +0000 (0:00:00.046) 0:02:39.436 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:02:13 +0000 (0:00:00.042) 0:02:39.478 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:02:13 +0000 (0:00:00.038) 0:02:39.516 ********* 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 18:02:13 +0000 (0:00:00.039) 0:02:39.555 ********* 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 18:02:13 +0000 (0:00:00.038) 0:02:39.594 ********* 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 18:02:13 +0000 (0:00:00.045) 0:02:39.639 ********* 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 18:02:13 +0000 (0:00:00.037) 0:02:39.677 ********* 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 18:02:13 +0000 (0:00:00.038) 0:02:39.715 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:02:13 +0000 (0:00:00.039) 0:02:39.754 ********* 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 18:02:13 +0000 (0:00:00.024) 0:02:39.779 ********* 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 18:02:13 +0000 (0:00:00.021) 0:02:39.800 ********* 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 18:02:13 +0000 (0:00:00.022) 0:02:39.823 ********* 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 18:02:13 +0000 (0:00:00.021) 0:02:39.844 ********* 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 18:02:13 +0000 (0:00:00.023) 0:02:39.868 ********* 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 18:02:13 +0000 (0:00:00.025) 0:02:39.894 ********* 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 18:02:13 +0000 (0:00:00.026) 0:02:39.921 ********* 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 18:02:13 +0000 (0:00:00.024) 0:02:39.945 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 18:02:13 +0000 (0:00:00.132) 0:02:40.078 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 18:02:13 +0000 (0:00:00.051) 0:02:40.130 ********* 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 18:02:13 +0000 (0:00:00.075) 0:02:40.205 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 18:02:13 +0000 (0:00:00.042) 0:02:40.248 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 18:02:14 +0000 (0:00:00.057) 0:02:40.305 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 18:02:14 +0000 (0:00:00.025) 0:02:40.330 ********* 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 18:02:14 +0000 (0:00:00.053) 0:02:40.384 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 18:02:14 +0000 (0:00:00.038) 0:02:40.422 ********* 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 18:02:14 +0000 (0:00:00.026) 0:02:40.449 ********* 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 18:02:14 +0000 (0:00:00.024) 0:02:40.473 ********* 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 18:02:14 +0000 (0:00:00.025) 0:02:40.498 ********* 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 18:02:14 +0000 (0:00:00.035) 0:02:40.534 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 18:02:14 +0000 (0:00:00.063) 0:02:40.597 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 18:02:14 +0000 (0:00:00.022) 0:02:40.620 ********* 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 18:02:14 +0000 (0:00:00.058) 0:02:40.679 ********* 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 18:02:14 +0000 (0:00:00.037) 0:02:40.717 ********* 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 18:02:14 +0000 (0:00:00.038) 0:02:40.755 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 18:02:14 +0000 (0:00:00.024) 0:02:40.780 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 18:02:14 +0000 (0:00:00.024) 0:02:40.804 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658426522.7849462, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658426522.7849462, "dev": 6, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1964, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658426522.7849462, "nlink": 1, "path": "/dev/sdb", "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 18:02:14 +0000 (0:00:00.399) 0:02:41.203 ********* 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 18:02:14 +0000 (0:00:00.038) 0:02:41.242 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 18:02:14 +0000 (0:00:00.023) 0:02:41.265 ********* 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 18:02:15 +0000 (0:00:00.042) 0:02:41.308 ********* 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 18:02:15 +0000 (0:00:00.026) 0:02:41.335 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 18:02:15 +0000 (0:00:00.025) 0:02:41.360 ********* 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 18:02:15 +0000 (0:00:00.024) 0:02:41.385 ********* 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 18:02:16 +0000 (0:00:01.287) 0:02:42.672 ********* 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 18:02:16 +0000 (0:00:00.026) 0:02:42.698 ********* 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 18:02:16 +0000 (0:00:00.024) 0:02:42.723 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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 18:02:16 +0000 (0:00:00.023) 0:02:42.747 ********* 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 18:02:16 +0000 (0:00:00.023) 0:02:42.770 ********* 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 18:02:16 +0000 (0:00:00.024) 0:02:42.794 ********* 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 18:02:16 +0000 (0:00:00.024) 0:02:42.818 ********* 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 18:02:16 +0000 (0:00:00.024) 0:02:42.843 ********* 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 18:02:16 +0000 (0:00:00.023) 0:02:42.866 ********* 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 18:02:16 +0000 (0:00:00.123) 0:02:42.989 ********* 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 18:02:16 +0000 (0:00:00.050) 0:02:43.040 ********* 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 18:02:16 +0000 (0:00:00.039) 0:02:43.080 ********* 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 18:02:16 +0000 (0:00:00.037) 0:02:43.117 ********* 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 18:02:16 +0000 (0:00:00.041) 0:02:43.158 ********* 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 18:02:16 +0000 (0:00:00.034) 0:02:43.193 ********* 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 18:02:16 +0000 (0:00:00.037) 0:02:43.230 ********* 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 18:02:16 +0000 (0:00:00.040) 0:02:43.270 ********* 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 18:02:17 +0000 (0:00:00.042) 0:02:43.313 ********* 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 18:02:17 +0000 (0:00:00.038) 0:02:43.352 ********* 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 18:02:17 +0000 (0:00:00.038) 0:02:43.390 ********* 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 18:02:17 +0000 (0:00:00.034) 0:02:43.425 ********* 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 18:02:17 +0000 (0:00:00.037) 0:02:43.463 ********* 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 18:02:17 +0000 (0:00:00.023) 0:02:43.486 ********* 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 18:02:17 +0000 (0:00:00.034) 0:02:43.521 ********* 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 18:02:17 +0000 (0:00:00.037) 0:02:43.558 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:02:17 +0000 (0:00:00.041) 0:02:43.600 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:02:17 +0000 (0:00:00.040) 0:02:43.640 ********* 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 18:02:17 +0000 (0:00:00.040) 0:02:43.681 ********* 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 18:02:17 +0000 (0:00:00.038) 0:02:43.720 ********* 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 18:02:17 +0000 (0:00:00.040) 0:02:43.760 ********* 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 18:02:17 +0000 (0:00:00.037) 0:02:43.798 ********* 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 18:02:17 +0000 (0:00:00.039) 0:02:43.837 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:02:17 +0000 (0:00:00.039) 0:02:43.876 ********* 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 18:02:17 +0000 (0:00:00.030) 0:02:43.907 ********* 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 18:02:17 +0000 (0:00:00.028) 0:02:43.935 ********* 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 18:02:17 +0000 (0:00:00.025) 0:02:43.961 ********* 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 18:02:17 +0000 (0:00:00.024) 0:02:43.985 ********* 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 18:02:17 +0000 (0:00:00.024) 0:02:44.009 ********* 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 18:02:17 +0000 (0:00:00.022) 0:02:44.032 ********* 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 18:02:17 +0000 (0:00:00.022) 0:02:44.055 ********* 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 18:02:17 +0000 (0:00:00.022) 0:02:44.077 ********* 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 18:02:17 +0000 (0:00:00.034) 0:02:44.112 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=474 changed=24 unreachable=0 failed=0 skipped=427 rescued=0 ignored=0 Thursday 21 July 2022 18:02:17 +0000 (0:00:00.042) 0:02:44.155 ********* =============================================================================== linux-system-roles.storage : make sure blivet is available ------------- 52.15s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.53s /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 --- 2.48s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.98s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Ensure cryptsetup is present -------------------------------------------- 1.86s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : Ensure ansible_facts used by role ---------- 1.57s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 -- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.49s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gathering Facts --------------------------------------------------------- 1.46s /tmp/tmpw6dixrb5/tests/tests_swap.yml:2 --------------------------------------- Ensure cryptsetup is present -------------------------------------------- 1.45s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.44s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.44s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.41s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gather swap info -------------------------------------------------------- 1.40s /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 ------------------------ Read the /etc/fstab file for volume existence --------------------------- 1.40s /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 ----------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.40s /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 ----------------------------------------------------- command ----------------------------------------------------------------- 1.39s /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 ------------------------ Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 ----------------------------- Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 ----------------------------- linux-system-roles.storage : make sure required packages are installed --- 1.39s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 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 23:14:03 +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 23:14:05 +0000 (0:00:01.388) 0:00:01.406 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.39s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_swap_scsi_generated.yml **************************************** 2 plays in /tmp/tmpcv9gbk7i/tests/storage/tests_swap_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap_scsi_generated.yml:3 Thursday 21 July 2022 23:14:05 +0000 (0:00:00.017) 0:00:01.424 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap_scsi_generated.yml:7 Thursday 21 July 2022 23:14:06 +0000 (0:00:01.117) 0:00:02.542 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:2 Thursday 21 July 2022 23:14:06 +0000 (0:00:00.045) 0:00:02.588 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:10 Thursday 21 July 2022 23:14:07 +0000 (0:00:01.470) 0:00:04.058 ********* 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 23:14:07 +0000 (0:00:00.038) 0:00:04.097 ********* 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 23:14:07 +0000 (0:00:00.030) 0:00:04.127 ********* 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 23:14:09 +0000 (0:00:01.410) 0:00:05.537 ********* 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 23:14:09 +0000 (0:00:00.057) 0:00:05.594 ********* 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 23:14:09 +0000 (0:00:00.031) 0:00:05.626 ********* 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 23:14:09 +0000 (0:00:00.030) 0:00:05.657 ********* 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 23:14:09 +0000 (0:00:00.054) 0:00:05.711 ********* 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 23:14:09 +0000 (0:00:00.023) 0:00:05.735 ********* 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 23:15:00 +0000 (0:00:50.933) 0:00:56.669 ********* 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 23:15:00 +0000 (0:00:00.035) 0:00:56.704 ********* 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 23:15:00 +0000 (0:00:00.035) 0:00:56.739 ********* 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 23:15:01 +0000 (0:00:00.724) 0:00:57.464 ********* 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 23:15:01 +0000 (0:00:00.042) 0:00:57.507 ********* 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 23:15:01 +0000 (0:00:00.032) 0:00:57.539 ********* 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 23:15:01 +0000 (0:00:00.035) 0:00:57.575 ********* 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 23:15:01 +0000 (0:00:00.030) 0:00:57.605 ********* 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 23:15:02 +0000 (0:00:01.286) 0:00:58.892 ********* 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-rc520ec5e8cf048429b747c3cb1ab22a6.service": { "name": "run-rc520ec5e8cf048429b747c3cb1ab22a6.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 23:15:04 +0000 (0:00:01.815) 0:01:00.708 ********* 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 23:15:04 +0000 (0:00:00.066) 0:01:00.774 ********* 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 23:15:04 +0000 (0:00:00.024) 0:01:00.799 ********* 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 23:15:05 +0000 (0:00:00.563) 0:01:01.362 ********* 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 23:15:05 +0000 (0:00:00.037) 0:01:01.399 ********* 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 23:15:05 +0000 (0:00:00.021) 0:01:01.421 ********* 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 23:15:05 +0000 (0:00:00.065) 0:01:01.487 ********* 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 23:15:05 +0000 (0:00:00.068) 0:01:01.555 ********* 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 23:15:05 +0000 (0:00:00.036) 0:01:01.592 ********* 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 23:15:05 +0000 (0:00:00.034) 0:01:01.627 ********* 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 23:15:05 +0000 (0:00:00.029) 0:01:01.656 ********* 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 23:15:05 +0000 (0:00:00.068) 0:01:01.724 ********* 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 23:15:05 +0000 (0:00:00.023) 0:01:01.748 ********* 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 23:15:05 +0000 (0:00:00.467) 0:01:02.215 ********* 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 23:15:05 +0000 (0:00:00.023) 0:01:02.239 ********* 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_swap.yml:13 Thursday 21 July 2022 23:15:06 +0000 (0:00:00.958) 0:01:03.197 ********* 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_swap.yml:20 Thursday 21 July 2022 23:15:06 +0000 (0:00:00.042) 0:01:03.240 ********* 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 23:15:07 +0000 (0:00:00.039) 0:01:03.279 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 23:15:07 +0000 (0:00:00.528) 0:01:03.807 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "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 23:15:07 +0000 (0:00:00.035) 0:01:03.843 ********* 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 23:15:07 +0000 (0:00:00.040) 0:01:03.883 ********* ok: [/cache/rhel-8.qcow2] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a disk device with swap] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:25 Thursday 21 July 2022 23:15:07 +0000 (0:00:00.033) 0:01:03.916 ********* 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 23:15:07 +0000 (0:00:00.043) 0:01:03.960 ********* 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 23:15:07 +0000 (0:00:00.034) 0:01:03.994 ********* 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 23:15:08 +0000 (0:00:00.542) 0:01:04.536 ********* 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 23:15:08 +0000 (0:00:00.085) 0:01:04.622 ********* 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 23:15:08 +0000 (0:00:00.084) 0:01:04.707 ********* 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 23:15:08 +0000 (0:00:00.035) 0:01:04.742 ********* 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 23:15:08 +0000 (0:00:00.054) 0:01:04.796 ********* 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 23:15:08 +0000 (0:00:00.019) 0:01:04.816 ********* 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 23:15:08 +0000 (0:00:00.025) 0:01:04.842 ********* 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 23:15:08 +0000 (0:00:00.033) 0:01:04.875 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 23:15:08 +0000 (0:00:00.034) 0:01:04.909 ********* 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 23:15:08 +0000 (0:00:00.027) 0:01:04.937 ********* 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 23:15:08 +0000 (0:00:00.024) 0:01:04.961 ********* 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 23:15:08 +0000 (0:00:00.024) 0:01:04.986 ********* 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 23:15:08 +0000 (0:00:00.025) 0:01:05.012 ********* 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 23:15:08 +0000 (0:00:00.055) 0:01:05.068 ********* 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 23:15:08 +0000 (0:00:00.021) 0:01:05.090 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "state": "present" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 23:15:10 +0000 (0:00:01.332) 0:01:06.422 ********* 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 23:15:10 +0000 (0:00:00.036) 0:01:06.459 ********* 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 23:15:10 +0000 (0:00:00.021) 0:01:06.481 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "state": "present" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 23:15:10 +0000 (0:00:00.039) 0:01:06.520 ********* 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 23:15:10 +0000 (0:00:00.038) 0:01:06.558 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 23:15:10 +0000 (0:00:00.036) 0:01:06.594 ********* 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 23:15:10 +0000 (0:00:00.035) 0:01:06.629 ********* 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 23:15:11 +0000 (0:00:00.863) 0:01:07.493 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d" } 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 23:15:11 +0000 (0:00:00.541) 0:01:08.034 ********* 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 23:15:12 +0000 (0:00:00.608) 0:01:08.642 ********* 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 23:15:12 +0000 (0:00:00.397) 0:01:09.040 ********* 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 23:15:12 +0000 (0:00:00.048) 0:01:09.088 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:35 Thursday 21 July 2022 23:15:14 +0000 (0:00:01.949) 0:01:11.038 ********* 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 23:15:14 +0000 (0:00:00.041) 0:01:11.080 ********* 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 23:15:14 +0000 (0:00:00.035) 0:01:11.116 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 23:15:14 +0000 (0:00:00.050) 0:01:11.167 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "aa75e8f3-d4e3-49aa-a018-7bbc2422b89d" }, "/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-23-13-51-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 23:15:15 +0000 (0:00:00.502) 0:01:11.669 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.003530", "end": "2022-07-21 19:15:16.854497", "rc": 0, "start": "2022-07-21 19:15:15.850967" } 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=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 23:15:16 +0000 (0:00:01.506) 0:01:13.175 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002524", "end": "2022-07-21 19:15:17.222902", "failed_when_result": false, "rc": 1, "start": "2022-07-21 19:15:17.220378" } 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 23:15:17 +0000 (0:00:00.362) 0:01:13.538 ********* 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 23:15:17 +0000 (0:00:00.022) 0:01:13.560 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 23:15:17 +0000 (0:00:00.058) 0:01:13.619 ********* 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 23:15:17 +0000 (0:00:00.047) 0:01:13.666 ********* 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 23:15:17 +0000 (0:00:00.079) 0:01:13.745 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 23:15:17 +0000 (0:00:00.070) 0:01:13.816 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 23:15:17 +0000 (0:00:00.078) 0:01:13.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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 23:15:17 +0000 (0:00:00.023) 0:01:13.918 ********* 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 23:15:17 +0000 (0:00:00.045) 0:01:13.963 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 23:15:17 +0000 (0:00:00.039) 0:01:14.002 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002500", "end": "2022-07-21 19:15:18.058189", "rc": 0, "start": "2022-07-21 19:15:18.055689" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 23:15:18 +0000 (0:00:00.372) 0:01:14.375 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002221", "end": "2022-07-21 19:15:18.424706", "rc": 0, "start": "2022-07-21 19:15:18.422485" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 23:15:18 +0000 (0:00:00.364) 0:01:14.739 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 23:15:18 +0000 (0:00:00.048) 0:01:14.788 ********* 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 23:15:18 +0000 (0:00:00.030) 0:01:14.818 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 23:15:18 +0000 (0:00:00.055) 0:01:14.874 ********* 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 23:15:18 +0000 (0:00:00.045) 0:01:14.920 ********* 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 23:15:18 +0000 (0:00:00.045) 0:01:14.966 ********* 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 23:15:18 +0000 (0:00:00.034) 0:01:15.000 ********* 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 23:15:18 +0000 (0:00:00.034) 0:01:15.035 ********* 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 23:15:18 +0000 (0:00:00.036) 0:01:15.071 ********* 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 23:15:18 +0000 (0:00:00.034) 0:01:15.106 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658445310.0464263, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658445310.0234263, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 17273, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658445310.0234263, "nlink": 1, "path": "/dev/sda", "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 23:15:19 +0000 (0:00:00.366) 0:01:15.472 ********* 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 23:15:19 +0000 (0:00:00.035) 0:01:15.508 ********* 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 23:15:19 +0000 (0:00:00.035) 0:01:15.544 ********* 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 23:15:19 +0000 (0:00:00.031) 0:01:15.576 ********* 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 23:15:19 +0000 (0:00:00.021) 0:01:15.597 ********* 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 23:15:19 +0000 (0:00:00.034) 0:01:15.631 ********* 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 23:15:19 +0000 (0:00:00.021) 0:01:15.652 ********* 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 23:15:21 +0000 (0:00:01.721) 0:01:17.373 ********* 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 23:15:21 +0000 (0:00:00.023) 0:01:17.397 ********* 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 23:15:21 +0000 (0:00:00.022) 0:01:17.419 ********* 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 23:15:21 +0000 (0:00:00.077) 0:01:17.497 ********* 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 23:15:21 +0000 (0:00:00.023) 0:01:17.520 ********* 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 23:15:21 +0000 (0:00:00.049) 0:01:17.570 ********* 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 23:15:21 +0000 (0:00:00.022) 0:01:17.592 ********* 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 23:15:21 +0000 (0:00:00.024) 0:01:17.616 ********* 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 23:15:21 +0000 (0:00:00.021) 0:01:17.638 ********* 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 23:15:21 +0000 (0:00:00.045) 0:01:17.684 ********* 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 23:15:21 +0000 (0:00:00.043) 0:01:17.728 ********* 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 23:15:21 +0000 (0:00:00.032) 0:01:17.760 ********* 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 23:15:21 +0000 (0:00:00.037) 0:01:17.797 ********* 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 23:15:21 +0000 (0:00:00.034) 0:01:17.831 ********* 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 23:15:21 +0000 (0:00:00.033) 0:01:17.864 ********* 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 23:15:21 +0000 (0:00:00.037) 0:01:17.902 ********* 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 23:15:21 +0000 (0:00:00.044) 0:01:17.946 ********* 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 23:15:21 +0000 (0:00:00.036) 0:01:17.982 ********* 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 23:15:21 +0000 (0:00:00.035) 0:01:18.018 ********* 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 23:15:21 +0000 (0:00:00.033) 0:01:18.051 ********* 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 23:15:21 +0000 (0:00:00.038) 0:01:18.090 ********* 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 23:15:21 +0000 (0:00:00.036) 0:01:18.126 ********* 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 23:15:21 +0000 (0:00:00.025) 0:01:18.152 ********* 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 23:15:21 +0000 (0:00:00.035) 0:01:18.187 ********* 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 23:15:21 +0000 (0:00:00.042) 0:01:18.229 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:15:22 +0000 (0:00:00.039) 0:01:18.269 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:15:22 +0000 (0:00:00.036) 0:01:18.306 ********* 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 23:15:22 +0000 (0:00:00.036) 0:01:18.342 ********* 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 23:15:22 +0000 (0:00:00.039) 0:01:18.382 ********* 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 23:15:22 +0000 (0:00:00.035) 0:01:18.418 ********* 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 23:15:22 +0000 (0:00:00.034) 0:01:18.453 ********* 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 23:15:22 +0000 (0:00:00.035) 0:01:18.488 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:15:22 +0000 (0:00:00.037) 0:01:18.526 ********* 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 23:15:22 +0000 (0:00:00.023) 0:01:18.550 ********* 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 23:15:22 +0000 (0:00:00.023) 0:01:18.574 ********* 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 23:15:22 +0000 (0:00:00.023) 0:01:18.597 ********* 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 23:15:22 +0000 (0:00:00.024) 0:01:18.621 ********* 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 23:15:22 +0000 (0:00:00.024) 0:01:18.646 ********* 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 23:15:22 +0000 (0:00:00.021) 0:01:18.668 ********* 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 23:15:22 +0000 (0:00:00.023) 0:01:18.691 ********* 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 23:15:22 +0000 (0:00:00.022) 0:01:18.714 ********* 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 23:15:22 +0000 (0:00:00.029) 0:01:18.744 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Format second disk as ext3] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:37 Thursday 21 July 2022 23:15:22 +0000 (0:00:00.030) 0:01:18.775 ********* 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 23:15:22 +0000 (0:00:00.047) 0:01:18.823 ********* 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 23:15:22 +0000 (0:00:00.044) 0:01:18.867 ********* 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 23:15:23 +0000 (0:00:00.578) 0:01:19.446 ********* 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 23:15:23 +0000 (0:00:00.063) 0:01:19.509 ********* 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 23:15:23 +0000 (0:00:00.035) 0:01:19.545 ********* 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 23:15:23 +0000 (0:00:00.032) 0:01:19.578 ********* 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 23:15:23 +0000 (0:00:00.054) 0:01:19.632 ********* 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 23:15:23 +0000 (0:00:00.021) 0:01:19.654 ********* 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 23:15:23 +0000 (0:00:00.028) 0:01:19.682 ********* 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 23:15:23 +0000 (0:00:00.034) 0:01:19.717 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "ext3", "mount_point": "none", "name": "test2", "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 23:15:23 +0000 (0:00:00.036) 0:01:19.754 ********* 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 23:15:23 +0000 (0:00:00.025) 0:01:19.779 ********* 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 23:15:23 +0000 (0:00:00.025) 0:01:19.805 ********* 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 23:15:23 +0000 (0:00:00.025) 0:01:19.830 ********* 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 23:15:23 +0000 (0:00:00.029) 0:01:19.859 ********* 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 23:15:23 +0000 (0:00:00.058) 0:01:19.918 ********* 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 23:15:23 +0000 (0:00:00.022) 0:01:19.940 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "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", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=00c22995-de4f-4c5f-97bc-4c4314170b94", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 23:15:25 +0000 (0:00:02.284) 0:01:22.224 ********* 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 23:15:26 +0000 (0:00:00.038) 0:01:22.262 ********* 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 23:15:26 +0000 (0:00:00.022) 0:01:22.285 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "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", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=00c22995-de4f-4c5f-97bc-4c4314170b94", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 23:15:26 +0000 (0:00:00.041) 0:01:22.326 ********* 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 23:15:26 +0000 (0:00:00.036) 0:01:22.363 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=00c22995-de4f-4c5f-97bc-4c4314170b94", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 23:15:26 +0000 (0:00:00.039) 0:01:22.403 ********* 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 23:15:26 +0000 (0:00:00.035) 0:01:22.439 ********* 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 23:15:26 +0000 (0:00:00.026) 0:01:22.465 ********* 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 23:15:26 +0000 (0:00:00.035) 0:01:22.501 ********* 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 23:15:26 +0000 (0:00:00.023) 0:01:22.525 ********* 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 23:15:26 +0000 (0:00:00.417) 0:01:22.942 ********* 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 23:15:26 +0000 (0:00:00.023) 0:01:22.965 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:48 Thursday 21 July 2022 23:15:27 +0000 (0:00:01.049) 0:01:24.015 ********* 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 23:15:27 +0000 (0:00:00.043) 0:01:24.058 ********* 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 23:15:27 +0000 (0:00:00.035) 0:01:24.093 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=00c22995-de4f-4c5f-97bc-4c4314170b94", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 23:15:27 +0000 (0:00:00.053) 0:01:24.146 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "aa75e8f3-d4e3-49aa-a018-7bbc2422b89d" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "00c22995-de4f-4c5f-97bc-4c4314170b94" }, "/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-23-13-51-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 23:15:28 +0000 (0:00:00.379) 0:01:24.526 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002277", "end": "2022-07-21 19:15:28.571565", "rc": 0, "start": "2022-07-21 19:15:28.569288" } 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=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 23:15:28 +0000 (0:00:00.361) 0:01:24.887 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002473", "end": "2022-07-21 19:15:28.937533", "failed_when_result": false, "rc": 1, "start": "2022-07-21 19:15:28.935060" } 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 23:15:28 +0000 (0:00:00.368) 0:01:25.256 ********* 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 23:15:29 +0000 (0:00:00.022) 0:01:25.278 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sdb'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=00c22995-de4f-4c5f-97bc-4c4314170b94', '_kernel_device': '/dev/sdb', '_raw_kernel_device': '/dev/sdb'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 23:15:29 +0000 (0:00:00.058) 0:01:25.337 ********* 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 23:15:29 +0000 (0:00:00.047) 0:01:25.384 ********* 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 23:15:29 +0000 (0:00:00.081) 0:01:25.465 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 23:15:29 +0000 (0:00:00.045) 0:01:25.511 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 23:15:29 +0000 (0:00:00.058) 0:01:25.569 ********* 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 23:15:29 +0000 (0:00:00.049) 0:01:25.618 ********* 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 23:15:29 +0000 (0:00:00.051) 0:01:25.670 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 23:15:29 +0000 (0:00:00.038) 0:01:25.708 ********* 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 23:15:29 +0000 (0:00:00.023) 0:01:25.732 ********* 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 23:15:29 +0000 (0:00:00.023) 0:01:25.755 ********* 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 23:15:29 +0000 (0:00:00.023) 0:01:25.778 ********* 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 23:15:29 +0000 (0:00:00.036) 0:01:25.815 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 23:15:29 +0000 (0:00:00.061) 0:01:25.877 ********* 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 23:15:29 +0000 (0:00:00.084) 0:01:25.961 ********* 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 23:15:29 +0000 (0:00:00.121) 0:01:26.083 ********* 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 23:15:29 +0000 (0:00:00.037) 0:01:26.120 ********* 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 23:15:29 +0000 (0:00:00.035) 0:01:26.155 ********* 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 23:15:29 +0000 (0:00:00.039) 0:01:26.195 ********* 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 23:15:29 +0000 (0:00:00.042) 0:01:26.237 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658445325.8504262, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658445325.8504262, "dev": 6, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 17268, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658445325.8504262, "nlink": 1, "path": "/dev/sdb", "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 23:15:30 +0000 (0:00:00.385) 0:01:26.623 ********* 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 23:15:30 +0000 (0:00:00.039) 0:01:26.663 ********* 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 23:15:30 +0000 (0:00:00.050) 0:01:26.713 ********* 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 23:15:30 +0000 (0:00:00.035) 0:01:26.749 ********* 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 23:15:30 +0000 (0:00:00.022) 0:01:26.771 ********* 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 23:15:30 +0000 (0:00:00.038) 0:01:26.810 ********* 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 23:15:30 +0000 (0:00:00.024) 0:01:26.834 ********* 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 23:15:32 +0000 (0:00:01.525) 0:01:28.360 ********* 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 23:15:32 +0000 (0:00:00.024) 0:01:28.385 ********* 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 23:15:32 +0000 (0:00:00.024) 0:01:28.409 ********* 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 23:15:32 +0000 (0:00:00.051) 0:01:28.461 ********* 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 23:15:32 +0000 (0:00:00.025) 0:01:28.486 ********* 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 23:15:32 +0000 (0:00:00.023) 0:01:28.509 ********* 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 23:15:32 +0000 (0:00:00.023) 0:01:28.533 ********* 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 23:15:32 +0000 (0:00:00.023) 0:01:28.556 ********* 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 23:15:32 +0000 (0:00:00.024) 0:01:28.581 ********* 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 23:15:32 +0000 (0:00:00.049) 0:01:28.630 ********* 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 23:15:32 +0000 (0:00:00.047) 0:01:28.677 ********* 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 23:15:32 +0000 (0:00:00.038) 0:01:28.715 ********* 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 23:15:32 +0000 (0:00:00.035) 0:01:28.751 ********* 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 23:15:32 +0000 (0:00:00.035) 0:01:28.786 ********* 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 23:15:32 +0000 (0:00:00.034) 0:01:28.820 ********* 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 23:15:32 +0000 (0:00:00.037) 0:01:28.858 ********* 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 23:15:32 +0000 (0:00:00.034) 0:01:28.892 ********* 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 23:15:32 +0000 (0:00:00.034) 0:01:28.926 ********* 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 23:15:32 +0000 (0:00:00.034) 0:01:28.961 ********* 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 23:15:32 +0000 (0:00:00.040) 0:01:29.001 ********* 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 23:15:32 +0000 (0:00:00.036) 0:01:29.038 ********* 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 23:15:32 +0000 (0:00:00.035) 0:01:29.073 ********* 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 23:15:32 +0000 (0:00:00.023) 0:01:29.096 ********* 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 23:15:32 +0000 (0:00:00.040) 0:01:29.136 ********* 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 23:15:32 +0000 (0:00:00.036) 0:01:29.173 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:15:32 +0000 (0:00:00.082) 0:01:29.255 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:15:33 +0000 (0:00:00.042) 0:01:29.298 ********* 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 23:15:33 +0000 (0:00:00.088) 0:01:29.386 ********* 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 23:15:33 +0000 (0:00:00.038) 0:01:29.425 ********* 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 23:15:33 +0000 (0:00:00.036) 0:01:29.461 ********* 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 23:15:33 +0000 (0:00:00.036) 0:01:29.498 ********* 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 23:15:33 +0000 (0:00:00.032) 0:01:29.530 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:15:33 +0000 (0:00:00.032) 0:01:29.563 ********* 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 23:15:33 +0000 (0:00:00.021) 0:01:29.585 ********* 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 23:15:33 +0000 (0:00:00.025) 0:01:29.610 ********* 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 23:15:33 +0000 (0:00:00.022) 0:01:29.632 ********* 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 23:15:33 +0000 (0:00:00.022) 0:01:29.655 ********* 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 23:15:33 +0000 (0:00:00.022) 0:01:29.678 ********* 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 23:15:33 +0000 (0:00:00.022) 0:01:29.701 ********* 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 23:15:33 +0000 (0:00:00.023) 0:01:29.724 ********* 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 23:15:33 +0000 (0:00:00.023) 0:01:29.748 ********* 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 23:15:33 +0000 (0:00:00.035) 0:01:29.783 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device file system type to ext3] ************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:50 Thursday 21 July 2022 23:15:33 +0000 (0:00:00.036) 0:01:29.819 ********* 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 23:15:33 +0000 (0:00:00.054) 0:01:29.874 ********* 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 23:15:33 +0000 (0:00:00.035) 0:01:29.909 ********* 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 23:15:34 +0000 (0:00:00.514) 0:01:30.423 ********* 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 23:15:34 +0000 (0:00:00.059) 0:01:30.483 ********* 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 23:15:34 +0000 (0:00:00.033) 0:01:30.517 ********* 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 23:15:34 +0000 (0:00:00.035) 0:01:30.553 ********* 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 23:15:34 +0000 (0:00:00.060) 0:01:30.613 ********* 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 23:15:34 +0000 (0:00:00.022) 0:01:30.636 ********* 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 23:15:34 +0000 (0:00:00.029) 0:01:30.666 ********* 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 23:15:34 +0000 (0:00:00.037) 0:01:30.703 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "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 23:15:34 +0000 (0:00:00.038) 0:01:30.741 ********* 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 23:15:34 +0000 (0:00:00.029) 0:01:30.771 ********* 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 23:15:34 +0000 (0:00:00.027) 0:01:30.798 ********* 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 23:15:34 +0000 (0:00:00.027) 0:01:30.826 ********* 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 23:15:34 +0000 (0:00:00.028) 0:01:30.854 ********* 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 23:15:34 +0000 (0:00:00.127) 0:01:30.981 ********* 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 23:15:34 +0000 (0:00:00.024) 0:01:31.006 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "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": "swap", "path": "none", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 23:15:36 +0000 (0:00:02.246) 0:01:33.252 ********* 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 23:15:37 +0000 (0:00:00.036) 0:01:33.289 ********* 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 23:15:37 +0000 (0:00:00.020) 0:01:33.310 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "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": "swap", "path": "none", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 23:15:37 +0000 (0:00:00.037) 0:01:33.347 ********* 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 23:15:37 +0000 (0:00:00.034) 0:01:33.382 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 23:15:37 +0000 (0:00:00.041) 0:01:33.424 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=aa75e8f3-d4e3-49aa-a018-7bbc2422b89d" } 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 23:15:37 +0000 (0:00:00.748) 0:01:34.172 ********* 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 23:15:38 +0000 (0:00:00.624) 0:01:34.796 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=286ceaab-5381-4de0-9f51-f96ba109ca41', 'path': '/opt/test', 'fstype': 'ext3', '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": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41" } 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 23:15:39 +0000 (0:00:00.462) 0:01:35.259 ********* 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 23:15:39 +0000 (0:00:00.621) 0:01:35.880 ********* 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 23:15:39 +0000 (0:00:00.359) 0:01:36.240 ********* 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 23:15:40 +0000 (0:00:00.032) 0:01:36.272 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:61 Thursday 21 July 2022 23:15:40 +0000 (0:00:00.983) 0:01:37.256 ********* 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 23:15:41 +0000 (0:00:00.048) 0:01:37.304 ********* 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 23:15:41 +0000 (0:00:00.038) 0:01:37.342 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 23:15:41 +0000 (0:00:00.125) 0:01:37.467 ********* 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": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "286ceaab-5381-4de0-9f51-f96ba109ca41" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "00c22995-de4f-4c5f-97bc-4c4314170b94" }, "/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-23-13-51-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 23:15:41 +0000 (0:00:00.370) 0:01:37.838 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.003653", "end": "2022-07-21 19:15:42.898212", "rc": 0, "start": "2022-07-21 19:15:41.894559" } 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=286ceaab-5381-4de0-9f51-f96ba109ca41 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 23:15:42 +0000 (0:00:01.380) 0:01:39.219 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002303", "end": "2022-07-21 19:15:43.265695", "failed_when_result": false, "rc": 1, "start": "2022-07-21 19:15:43.263392" } 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 23:15:43 +0000 (0:00:00.364) 0:01:39.583 ********* 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 23:15:43 +0000 (0:00:00.022) 0:01:39.605 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=286ceaab-5381-4de0-9f51-f96ba109ca41', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 23:15:43 +0000 (0:00:00.061) 0:01:39.666 ********* 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 23:15:43 +0000 (0:00:00.052) 0:01:39.719 ********* 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 23:15:43 +0000 (0:00:00.077) 0:01:39.796 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 23:15:43 +0000 (0:00:00.040) 0:01:39.837 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2563918, "block_used": 136846, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10501808128, "uuid": "286ceaab-5381-4de0-9f51-f96ba109ca41" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2563918, "block_used": 136846, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10501808128, "uuid": "286ceaab-5381-4de0-9f51-f96ba109ca41" } ], "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 23:15:43 +0000 (0:00:00.054) 0:01:39.892 ********* 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 23:15:43 +0000 (0:00:00.082) 0:01:39.974 ********* 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 23:15:43 +0000 (0:00:00.053) 0:01:40.027 ********* 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 23:15:43 +0000 (0:00:00.047) 0:01:40.075 ********* 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 23:15:43 +0000 (0:00:00.024) 0:01:40.100 ********* 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 23:15:43 +0000 (0:00:00.023) 0:01:40.124 ********* 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 23:15:43 +0000 (0:00:00.026) 0:01:40.150 ********* 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 23:15:43 +0000 (0:00:00.034) 0:01:40.185 ********* 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=286ceaab-5381-4de0-9f51-f96ba109ca41 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "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 23:15:44 +0000 (0:00:00.092) 0:01:40.277 ********* 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 23:15:44 +0000 (0:00:00.081) 0:01:40.359 ********* 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 23:15:44 +0000 (0:00:00.082) 0:01:40.441 ********* 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 23:15:44 +0000 (0:00:00.037) 0:01:40.479 ********* 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 23:15:44 +0000 (0:00:00.099) 0:01:40.578 ********* 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 23:15:44 +0000 (0:00:00.040) 0:01:40.618 ********* 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 23:15:44 +0000 (0:00:00.041) 0:01:40.660 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658445336.8774261, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658445336.8774261, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 17273, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658445336.8774261, "nlink": 1, "path": "/dev/sda", "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 23:15:44 +0000 (0:00:00.413) 0:01:41.073 ********* 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 23:15:44 +0000 (0:00:00.036) 0:01:41.110 ********* 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 23:15:44 +0000 (0:00:00.042) 0:01:41.153 ********* 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 23:15:44 +0000 (0:00:00.036) 0:01:41.189 ********* 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 23:15:44 +0000 (0:00:00.025) 0:01:41.215 ********* 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 23:15:44 +0000 (0:00:00.040) 0:01:41.255 ********* 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 23:15:45 +0000 (0:00:00.025) 0:01:41.280 ********* 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 23:15:46 +0000 (0:00:01.279) 0:01:42.560 ********* 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 23:15:46 +0000 (0:00:00.025) 0:01:42.585 ********* 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 23:15:46 +0000 (0:00:00.030) 0:01:42.616 ********* 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 23:15:46 +0000 (0:00:00.060) 0:01:42.676 ********* 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 23:15:46 +0000 (0:00:00.025) 0:01:42.701 ********* 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 23:15:46 +0000 (0:00:00.025) 0:01:42.727 ********* 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 23:15:46 +0000 (0:00:00.025) 0:01:42.752 ********* 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 23:15:46 +0000 (0:00:00.025) 0:01:42.778 ********* 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 23:15:46 +0000 (0:00:00.024) 0:01:42.802 ********* 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 23:15:46 +0000 (0:00:00.054) 0:01:42.856 ********* 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 23:15:46 +0000 (0:00:00.054) 0:01:42.911 ********* 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 23:15:46 +0000 (0:00:00.037) 0:01:42.948 ********* 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 23:15:46 +0000 (0:00:00.042) 0:01:42.990 ********* 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 23:15:46 +0000 (0:00:00.039) 0:01:43.029 ********* 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 23:15:46 +0000 (0:00:00.033) 0:01:43.063 ********* 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 23:15:46 +0000 (0:00:00.034) 0:01:43.097 ********* 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 23:15:46 +0000 (0:00:00.036) 0:01:43.134 ********* 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 23:15:46 +0000 (0:00:00.034) 0:01:43.168 ********* 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 23:15:46 +0000 (0:00:00.036) 0:01:43.204 ********* 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 23:15:46 +0000 (0:00:00.041) 0:01:43.245 ********* 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 23:15:47 +0000 (0:00:00.039) 0:01:43.285 ********* 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 23:15:47 +0000 (0:00:00.039) 0:01:43.324 ********* 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 23:15:47 +0000 (0:00:00.023) 0:01:43.347 ********* 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 23:15:47 +0000 (0:00:00.036) 0:01:43.384 ********* 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 23:15:47 +0000 (0:00:00.039) 0:01:43.423 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:15:47 +0000 (0:00:00.035) 0:01:43.459 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:15:47 +0000 (0:00:00.036) 0:01:43.495 ********* 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 23:15:47 +0000 (0:00:00.033) 0:01:43.529 ********* 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 23:15:47 +0000 (0:00:00.068) 0:01:43.597 ********* 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 23:15:47 +0000 (0:00:00.034) 0:01:43.632 ********* 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 23:15:47 +0000 (0:00:00.033) 0:01:43.666 ********* 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 23:15:47 +0000 (0:00:00.034) 0:01:43.700 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:15:47 +0000 (0:00:00.034) 0:01:43.735 ********* 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 23:15:47 +0000 (0:00:00.021) 0:01:43.757 ********* 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 23:15:47 +0000 (0:00:00.021) 0:01:43.778 ********* 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 23:15:47 +0000 (0:00:00.021) 0:01:43.800 ********* 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 23:15:47 +0000 (0:00:00.024) 0:01:43.824 ********* 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 23:15:47 +0000 (0:00:00.024) 0:01:43.849 ********* 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 23:15:47 +0000 (0:00:00.024) 0:01:43.873 ********* 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 23:15:47 +0000 (0:00:00.023) 0:01:43.897 ********* 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 23:15:47 +0000 (0:00:00.025) 0:01:43.922 ********* 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 23:15:47 +0000 (0:00:00.032) 0:01:43.955 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:63 Thursday 21 July 2022 23:15:47 +0000 (0:00:00.034) 0:01:43.989 ********* 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 23:15:47 +0000 (0:00:00.057) 0:01:44.047 ********* 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 23:15:47 +0000 (0:00:00.036) 0:01:44.084 ********* 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 23:15:48 +0000 (0:00:00.501) 0:01:44.585 ********* 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 23:15:48 +0000 (0:00:00.063) 0:01:44.648 ********* 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 23:15:48 +0000 (0:00:00.034) 0:01:44.683 ********* 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 23:15:48 +0000 (0:00:00.036) 0:01:44.720 ********* 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 23:15:48 +0000 (0:00:00.056) 0:01:44.776 ********* 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 23:15:48 +0000 (0:00:00.020) 0:01:44.796 ********* 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 23:15:48 +0000 (0:00:00.028) 0:01:44.825 ********* 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 23:15:48 +0000 (0:00:00.036) 0:01:44.862 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "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 23:15:48 +0000 (0:00:00.034) 0:01:44.897 ********* 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 23:15:48 +0000 (0:00:00.026) 0:01:44.923 ********* 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 23:15:48 +0000 (0:00:00.025) 0:01:44.949 ********* 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 23:15:48 +0000 (0:00:00.026) 0:01:44.975 ********* 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 23:15:48 +0000 (0:00:00.025) 0:01:45.001 ********* 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 23:15:48 +0000 (0:00:00.095) 0:01:45.096 ********* 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 23:15:48 +0000 (0:00:00.022) 0:01:45.119 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 23:15:50 +0000 (0:00:01.145) 0:01:46.264 ********* 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 23:15:50 +0000 (0:00:00.041) 0:01:46.306 ********* 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 23:15:50 +0000 (0:00:00.030) 0:01:46.336 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 23:15:50 +0000 (0:00:00.041) 0:01:46.377 ********* 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 23:15:50 +0000 (0:00:00.039) 0:01:46.417 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 23:15:50 +0000 (0:00:00.041) 0:01:46.459 ********* 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 23:15:50 +0000 (0:00:00.041) 0:01:46.500 ********* 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 23:15:50 +0000 (0:00:00.610) 0:01:47.110 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=286ceaab-5381-4de0-9f51-f96ba109ca41', 'path': '/opt/test', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41" } 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 23:15:51 +0000 (0:00:00.394) 0:01:47.505 ********* 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 23:15:51 +0000 (0:00:00.611) 0:01:48.116 ********* 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 23:15:52 +0000 (0:00:00.375) 0:01:48.492 ********* 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 23:15:52 +0000 (0:00:00.024) 0:01:48.516 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:74 Thursday 21 July 2022 23:15:53 +0000 (0:00:00.945) 0:01:49.461 ********* 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 23:15:53 +0000 (0:00:00.047) 0:01:49.509 ********* 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 23:15:53 +0000 (0:00:00.033) 0:01:49.543 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 23:15:53 +0000 (0:00:00.049) 0:01:49.592 ********* 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": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "286ceaab-5381-4de0-9f51-f96ba109ca41" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "00c22995-de4f-4c5f-97bc-4c4314170b94" }, "/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-23-13-51-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 23:15:53 +0000 (0:00:00.369) 0:01:49.962 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002324", "end": "2022-07-21 19:15:54.065271", "rc": 0, "start": "2022-07-21 19:15:54.062947" } 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=286ceaab-5381-4de0-9f51-f96ba109ca41 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 23:15:54 +0000 (0:00:00.419) 0:01:50.382 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002261", "end": "2022-07-21 19:15:54.441226", "failed_when_result": false, "rc": 1, "start": "2022-07-21 19:15:54.438965" } 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 23:15:54 +0000 (0:00:00.376) 0:01:50.759 ********* 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 23:15:54 +0000 (0:00:00.023) 0:01:50.782 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=286ceaab-5381-4de0-9f51-f96ba109ca41', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 23:15:54 +0000 (0:00:00.058) 0:01:50.840 ********* 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 23:15:54 +0000 (0:00:00.049) 0:01:50.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 23:15:54 +0000 (0:00:00.078) 0:01:50.968 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 23:15:54 +0000 (0:00:00.042) 0:01:51.010 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2563918, "block_used": 136846, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10501808128, "uuid": "286ceaab-5381-4de0-9f51-f96ba109ca41" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2563918, "block_used": 136846, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10501808128, "uuid": "286ceaab-5381-4de0-9f51-f96ba109ca41" } ], "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 23:15:54 +0000 (0:00:00.056) 0:01:51.067 ********* 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 23:15:54 +0000 (0:00:00.049) 0:01:51.117 ********* 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 23:15:54 +0000 (0:00:00.050) 0:01:51.167 ********* 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 23:15:54 +0000 (0:00:00.053) 0:01:51.221 ********* 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 23:15:54 +0000 (0:00:00.025) 0:01:51.246 ********* 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 23:15:55 +0000 (0:00:00.022) 0:01:51.269 ********* 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 23:15:55 +0000 (0:00:00.024) 0:01:51.293 ********* 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 23:15:55 +0000 (0:00:00.036) 0:01:51.330 ********* 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=286ceaab-5381-4de0-9f51-f96ba109ca41 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "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 23:15:55 +0000 (0:00:00.059) 0:01:51.390 ********* 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 23:15:55 +0000 (0:00:00.049) 0:01:51.439 ********* 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 23:15:55 +0000 (0:00:00.050) 0:01:51.490 ********* 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 23:15:55 +0000 (0:00:00.036) 0:01:51.526 ********* 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 23:15:55 +0000 (0:00:00.034) 0:01:51.560 ********* 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 23:15:55 +0000 (0:00:00.038) 0:01:51.599 ********* 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 23:15:55 +0000 (0:00:00.041) 0:01:51.641 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658445336.8774261, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658445336.8774261, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 17273, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658445336.8774261, "nlink": 1, "path": "/dev/sda", "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 23:15:55 +0000 (0:00:00.379) 0:01:52.020 ********* 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 23:15:55 +0000 (0:00:00.075) 0:01:52.096 ********* 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 23:15:55 +0000 (0:00:00.134) 0:01:52.230 ********* 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 23:15:56 +0000 (0:00:00.038) 0:01:52.268 ********* 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 23:15:56 +0000 (0:00:00.025) 0:01:52.294 ********* 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 23:15:56 +0000 (0:00:00.040) 0:01:52.335 ********* 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 23:15:56 +0000 (0:00:00.025) 0:01:52.360 ********* 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 23:15:57 +0000 (0:00:01.218) 0:01:53.579 ********* 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 23:15:57 +0000 (0:00:00.026) 0:01:53.605 ********* 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 23:15:57 +0000 (0:00:00.023) 0:01:53.629 ********* 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 23:15:57 +0000 (0:00:00.053) 0:01:53.683 ********* 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 23:15:57 +0000 (0:00:00.024) 0:01:53.707 ********* 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 23:15:57 +0000 (0:00:00.023) 0:01:53.731 ********* 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 23:15:57 +0000 (0:00:00.023) 0:01:53.755 ********* 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 23:15:57 +0000 (0:00:00.026) 0:01:53.781 ********* 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 23:15:57 +0000 (0:00:00.024) 0:01:53.806 ********* 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 23:15:57 +0000 (0:00:00.051) 0:01:53.857 ********* 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 23:15:57 +0000 (0:00:00.048) 0:01:53.906 ********* 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 23:15:57 +0000 (0:00:00.040) 0:01:53.946 ********* 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 23:15:57 +0000 (0:00:00.036) 0:01:53.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-encryption.yml:90 Thursday 21 July 2022 23:15:57 +0000 (0:00:00.036) 0:01:54.019 ********* 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 23:15:57 +0000 (0:00:00.036) 0:01:54.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-md.yml:13 Thursday 21 July 2022 23:15:57 +0000 (0:00:00.039) 0:01:54.095 ********* 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 23:15:57 +0000 (0:00:00.037) 0:01:54.132 ********* 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 23:15:57 +0000 (0:00:00.038) 0:01:54.170 ********* 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 23:15:57 +0000 (0:00:00.036) 0:01:54.207 ********* 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 23:15:57 +0000 (0:00:00.037) 0:01:54.244 ********* 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 23:15:58 +0000 (0:00:00.037) 0:01:54.282 ********* 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 23:15:58 +0000 (0:00:00.036) 0:01:54.318 ********* 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 23:15:58 +0000 (0:00:00.025) 0:01:54.344 ********* 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 23:15:58 +0000 (0:00:00.040) 0:01:54.385 ********* 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 23:15:58 +0000 (0:00:00.036) 0:01:54.422 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:15:58 +0000 (0:00:00.037) 0:01:54.459 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:15:58 +0000 (0:00:00.035) 0:01:54.494 ********* 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 23:15:58 +0000 (0:00:00.040) 0:01:54.534 ********* 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 23:15:58 +0000 (0:00:00.036) 0:01:54.571 ********* 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 23:15:58 +0000 (0:00:00.036) 0:01:54.608 ********* 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 23:15:58 +0000 (0:00:00.036) 0:01:54.645 ********* 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 23:15:58 +0000 (0:00:00.039) 0:01:54.684 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:15:58 +0000 (0:00:00.035) 0:01:54.719 ********* 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 23:15:58 +0000 (0:00:00.025) 0:01:54.745 ********* 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 23:15:58 +0000 (0:00:00.023) 0:01:54.768 ********* 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 23:15:58 +0000 (0:00:00.024) 0:01:54.793 ********* 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 23:15:58 +0000 (0:00:00.025) 0:01:54.818 ********* 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 23:15:58 +0000 (0:00:00.025) 0:01:54.843 ********* 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 23:15:58 +0000 (0:00:00.023) 0:01:54.867 ********* 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 23:15:58 +0000 (0:00:00.022) 0:01:54.890 ********* 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 23:15:58 +0000 (0:00:00.021) 0:01:54.911 ********* 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 23:15:58 +0000 (0:00:00.069) 0:01:54.981 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change it back to swap] ************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:76 Thursday 21 July 2022 23:15:58 +0000 (0:00:00.072) 0:01:55.053 ********* 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 23:15:58 +0000 (0:00:00.109) 0:01:55.163 ********* 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 23:15:58 +0000 (0:00:00.042) 0:01:55.205 ********* 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 23:15:59 +0000 (0:00:00.529) 0:01:55.735 ********* 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 23:15:59 +0000 (0:00:00.065) 0:01:55.801 ********* 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 23:15:59 +0000 (0:00:00.039) 0:01:55.840 ********* 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 23:15:59 +0000 (0:00:00.036) 0:01:55.877 ********* 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 23:15:59 +0000 (0:00:00.055) 0:01:55.932 ********* 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 23:15:59 +0000 (0:00:00.020) 0:01:55.953 ********* 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 23:15:59 +0000 (0:00:00.027) 0:01:55.980 ********* 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 23:15:59 +0000 (0:00:00.036) 0:01:56.016 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 23:15:59 +0000 (0:00:00.036) 0:01:56.053 ********* 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 23:15:59 +0000 (0:00:00.029) 0:01:56.082 ********* 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 23:15:59 +0000 (0:00:00.026) 0:01:56.108 ********* 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 23:15:59 +0000 (0:00:00.026) 0:01:56.134 ********* 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 23:15:59 +0000 (0:00:00.026) 0:01:56.160 ********* 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 23:15:59 +0000 (0:00:00.055) 0:01:56.216 ********* 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 23:15:59 +0000 (0:00:00.022) 0:01:56.239 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "ext3", "path": "/opt/test", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "present" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 23:16:01 +0000 (0:00:01.399) 0:01:57.639 ********* 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 23:16:01 +0000 (0:00:00.037) 0:01:57.676 ********* 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 23:16:01 +0000 (0:00:00.023) 0:01:57.699 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "ext3", "path": "/opt/test", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "present" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 23:16:01 +0000 (0:00:00.041) 0:01:57.741 ********* 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 23:16:01 +0000 (0:00:00.035) 0:01:57.776 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 23:16:01 +0000 (0:00:00.037) 0:01:57.813 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=286ceaab-5381-4de0-9f51-f96ba109ca41', 'path': '/opt/test', 'state': 'absent', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=286ceaab-5381-4de0-9f51-f96ba109ca41" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'path': '/opt/test', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0" } 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 23:16:02 +0000 (0:00:00.812) 0:01:58.626 ********* 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 23:16:02 +0000 (0:00:00.624) 0:01:59.251 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d" } 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 23:16:03 +0000 (0:00:00.452) 0:01:59.703 ********* 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 23:16:04 +0000 (0:00:00.626) 0:02:00.329 ********* 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 23:16:04 +0000 (0:00:00.406) 0:02:00.736 ********* 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 23:16:04 +0000 (0:00:00.024) 0:02:00.761 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:86 Thursday 21 July 2022 23:16:05 +0000 (0:00:01.008) 0:02:01.769 ********* 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 23:16:05 +0000 (0:00:00.051) 0:02:01.820 ********* 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 23:16:05 +0000 (0:00:00.035) 0:02:01.856 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 23:16:05 +0000 (0:00:00.052) 0:02:01.908 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "2a970c18-0e1f-4596-a8e1-8cb85051c23d" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "00c22995-de4f-4c5f-97bc-4c4314170b94" }, "/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-23-13-51-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 23:16:06 +0000 (0:00:00.388) 0:02:02.297 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003165", "end": "2022-07-21 19:16:06.346965", "rc": 0, "start": "2022-07-21 19:16:06.343800" } 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=2a970c18-0e1f-4596-a8e1-8cb85051c23d none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 23:16:06 +0000 (0:00:00.368) 0:02:02.666 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002569", "end": "2022-07-21 19:16:06.714516", "failed_when_result": false, "rc": 1, "start": "2022-07-21 19:16:06.711947" } 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 23:16:06 +0000 (0:00:00.367) 0:02:03.033 ********* 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 23:16:06 +0000 (0:00:00.022) 0:02:03.056 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 23:16:06 +0000 (0:00:00.063) 0:02:03.120 ********* 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 23:16:06 +0000 (0:00:00.054) 0:02:03.175 ********* 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 23:16:07 +0000 (0:00:00.084) 0:02:03.260 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 23:16:07 +0000 (0:00:00.048) 0:02:03.308 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 23:16:07 +0000 (0:00:00.099) 0:02:03.408 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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 23:16:07 +0000 (0:00:00.052) 0:02:03.460 ********* 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 23:16:07 +0000 (0:00:00.046) 0:02:03.506 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 23:16:07 +0000 (0:00:00.033) 0:02:03.540 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002530", "end": "2022-07-21 19:16:07.600571", "rc": 0, "start": "2022-07-21 19:16:07.598041" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 23:16:07 +0000 (0:00:00.378) 0:02:03.918 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:01.003512", "end": "2022-07-21 19:16:08.964782", "rc": 0, "start": "2022-07-21 19:16:07.961270" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 23:16:09 +0000 (0:00:01.367) 0:02:05.286 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 23:16:09 +0000 (0:00:00.052) 0:02:05.339 ********* 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 23:16:09 +0000 (0:00:00.035) 0:02:05.375 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 23:16:09 +0000 (0:00:00.059) 0:02:05.434 ********* 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 23:16:09 +0000 (0:00:00.049) 0:02:05.484 ********* 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 23:16:09 +0000 (0:00:00.050) 0:02:05.534 ********* 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 23:16:09 +0000 (0:00:00.035) 0:02:05.570 ********* 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 23:16:09 +0000 (0:00:00.035) 0:02:05.605 ********* 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 23:16:09 +0000 (0:00:00.038) 0:02:05.644 ********* 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 23:16:09 +0000 (0:00:00.040) 0:02:05.685 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658445361.2724264, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658445361.2504263, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 17273, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658445361.2504263, "nlink": 1, "path": "/dev/sda", "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 23:16:09 +0000 (0:00:00.385) 0:02:06.070 ********* 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 23:16:09 +0000 (0:00:00.040) 0:02:06.110 ********* 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 23:16:09 +0000 (0:00:00.040) 0:02:06.151 ********* 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 23:16:09 +0000 (0:00:00.035) 0:02:06.186 ********* 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 23:16:09 +0000 (0:00:00.024) 0:02:06.210 ********* 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 23:16:09 +0000 (0:00:00.039) 0:02:06.249 ********* 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 23:16:10 +0000 (0:00:00.025) 0:02:06.274 ********* 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 23:16:11 +0000 (0:00:01.310) 0:02:07.585 ********* 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 23:16:11 +0000 (0:00:00.026) 0:02:07.612 ********* 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 23:16:11 +0000 (0:00:00.025) 0:02:07.637 ********* 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 23:16:11 +0000 (0:00:00.049) 0:02:07.686 ********* 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 23:16:11 +0000 (0:00:00.021) 0:02:07.708 ********* 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 23:16:11 +0000 (0:00:00.021) 0:02:07.729 ********* 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 23:16:11 +0000 (0:00:00.021) 0:02:07.751 ********* 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 23:16:11 +0000 (0:00:00.021) 0:02:07.772 ********* 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 23:16:11 +0000 (0:00:00.021) 0:02:07.793 ********* 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 23:16:11 +0000 (0:00:00.094) 0:02:07.887 ********* 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 23:16:11 +0000 (0:00:00.082) 0:02:07.970 ********* 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 23:16:11 +0000 (0:00:00.038) 0:02:08.009 ********* 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 23:16:11 +0000 (0:00:00.037) 0:02:08.046 ********* 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 23:16:11 +0000 (0:00:00.037) 0:02:08.083 ********* 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 23:16:11 +0000 (0:00:00.034) 0:02:08.118 ********* 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 23:16:11 +0000 (0:00:00.039) 0:02:08.157 ********* 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 23:16:11 +0000 (0:00:00.039) 0:02:08.197 ********* 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 23:16:11 +0000 (0:00:00.051) 0:02:08.249 ********* 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 23:16:12 +0000 (0:00:00.043) 0:02:08.292 ********* 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 23:16:12 +0000 (0:00:00.040) 0:02:08.333 ********* 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 23:16:12 +0000 (0:00:00.037) 0:02:08.370 ********* 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 23:16:12 +0000 (0:00:00.036) 0:02:08.406 ********* 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 23:16:12 +0000 (0:00:00.025) 0:02:08.431 ********* 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 23:16:12 +0000 (0:00:00.036) 0:02:08.468 ********* 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 23:16:12 +0000 (0:00:00.037) 0:02:08.505 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:16:12 +0000 (0:00:00.039) 0:02:08.544 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:16:12 +0000 (0:00:00.037) 0:02:08.582 ********* 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 23:16:12 +0000 (0:00:00.034) 0:02:08.616 ********* 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 23:16:12 +0000 (0:00:00.034) 0:02:08.651 ********* 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 23:16:12 +0000 (0:00:00.038) 0:02:08.689 ********* 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 23:16:12 +0000 (0:00:00.036) 0:02:08.725 ********* 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 23:16:12 +0000 (0:00:00.034) 0:02:08.760 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:16:12 +0000 (0:00:00.034) 0:02:08.794 ********* 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 23:16:12 +0000 (0:00:00.023) 0:02:08.817 ********* 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 23:16:12 +0000 (0:00:00.021) 0:02:08.839 ********* 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 23:16:12 +0000 (0:00:00.024) 0:02:08.863 ********* 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 23:16:12 +0000 (0:00:00.021) 0:02:08.884 ********* 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 23:16:12 +0000 (0:00:00.025) 0:02:08.910 ********* 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 23:16:12 +0000 (0:00:00.023) 0:02:08.933 ********* 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 23:16:12 +0000 (0:00:00.022) 0:02:08.956 ********* 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 23:16:12 +0000 (0:00:00.025) 0:02:08.981 ********* 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 23:16:12 +0000 (0:00:00.038) 0:02:09.019 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:88 Thursday 21 July 2022 23:16:12 +0000 (0:00:00.033) 0:02:09.053 ********* 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 23:16:12 +0000 (0:00:00.067) 0:02:09.121 ********* 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 23:16:12 +0000 (0:00:00.036) 0:02:09.157 ********* 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 23:16:13 +0000 (0:00:00.528) 0:02:09.686 ********* 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 23:16:13 +0000 (0:00:00.064) 0:02:09.751 ********* 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 23:16:13 +0000 (0:00:00.036) 0:02:09.787 ********* 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 23:16:13 +0000 (0:00:00.034) 0:02:09.822 ********* 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 23:16:13 +0000 (0:00:00.056) 0:02:09.878 ********* 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 23:16:13 +0000 (0:00:00.021) 0:02:09.899 ********* 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 23:16:13 +0000 (0:00:00.028) 0:02:09.928 ********* 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 23:16:13 +0000 (0:00:00.036) 0:02:09.964 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 23:16:13 +0000 (0:00:00.037) 0:02:10.002 ********* 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 23:16:13 +0000 (0:00:00.026) 0:02:10.029 ********* 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 23:16:13 +0000 (0:00:00.026) 0:02:10.055 ********* 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 23:16:13 +0000 (0:00:00.026) 0:02:10.082 ********* 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 23:16:13 +0000 (0:00:00.029) 0:02:10.112 ********* 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 23:16:13 +0000 (0:00:00.061) 0:02:10.173 ********* 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 23:16:13 +0000 (0:00:00.022) 0:02:10.196 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "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": "swap", "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "present" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 23:16:15 +0000 (0:00:01.163) 0:02:11.359 ********* 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 23:16:15 +0000 (0:00:00.038) 0:02:11.398 ********* 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 23:16:15 +0000 (0:00:00.022) 0:02:11.421 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "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": "swap", "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "present" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 23:16:15 +0000 (0:00:00.039) 0:02:11.460 ********* 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 23:16:15 +0000 (0:00:00.038) 0:02:11.499 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 23:16:15 +0000 (0:00:00.047) 0:02:11.546 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d" } 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 23:16:15 +0000 (0:00:00.402) 0:02:11.949 ********* 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 23:16:16 +0000 (0:00:00.617) 0:02:12.566 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d" } 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 23:16:16 +0000 (0:00:00.462) 0:02:13.029 ********* 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 23:16:17 +0000 (0:00:00.596) 0:02:13.625 ********* 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 23:16:17 +0000 (0:00:00.352) 0:02:13.978 ********* 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 23:16:17 +0000 (0:00:00.024) 0:02:14.003 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:98 Thursday 21 July 2022 23:16:18 +0000 (0:00:00.994) 0:02:14.997 ********* 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 23:16:18 +0000 (0:00:00.055) 0:02:15.053 ********* 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 23:16:18 +0000 (0:00:00.041) 0:02:15.094 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 23:16:18 +0000 (0:00:00.050) 0:02:15.144 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "2a970c18-0e1f-4596-a8e1-8cb85051c23d" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "00c22995-de4f-4c5f-97bc-4c4314170b94" }, "/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-23-13-51-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 23:16:19 +0000 (0:00:00.370) 0:02:15.515 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002311", "end": "2022-07-21 19:16:19.558048", "rc": 0, "start": "2022-07-21 19:16:19.555737" } 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=2a970c18-0e1f-4596-a8e1-8cb85051c23d none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 23:16:19 +0000 (0:00:00.363) 0:02:15.879 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002275", "end": "2022-07-21 19:16:19.923308", "failed_when_result": false, "rc": 1, "start": "2022-07-21 19:16:19.921033" } 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 23:16:19 +0000 (0:00:00.362) 0:02:16.241 ********* 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 23:16:20 +0000 (0:00:00.024) 0:02:16.266 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 23:16:20 +0000 (0:00:00.062) 0:02:16.328 ********* 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 23:16:20 +0000 (0:00:00.049) 0:02:16.378 ********* 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 23:16:20 +0000 (0:00:00.075) 0:02:16.454 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 23:16:20 +0000 (0:00:00.071) 0:02:16.525 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 23:16:20 +0000 (0:00:00.083) 0:02:16.609 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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 23:16:20 +0000 (0:00:00.024) 0:02:16.633 ********* 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 23:16:20 +0000 (0:00:00.109) 0:02:16.743 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 23:16:20 +0000 (0:00:00.037) 0:02:16.781 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002534", "end": "2022-07-21 19:16:20.835340", "rc": 0, "start": "2022-07-21 19:16:20.832806" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 23:16:20 +0000 (0:00:00.373) 0:02:17.154 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002207", "end": "2022-07-21 19:16:21.203396", "rc": 0, "start": "2022-07-21 19:16:21.201189" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 23:16:21 +0000 (0:00:00.365) 0:02:17.520 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 23:16:21 +0000 (0:00:00.054) 0:02:17.574 ********* 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 23:16:21 +0000 (0:00:00.034) 0:02:17.609 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 23:16:21 +0000 (0:00:00.059) 0:02:17.668 ********* 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 23:16:21 +0000 (0:00:00.046) 0:02:17.715 ********* 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 23:16:21 +0000 (0:00:00.046) 0:02:17.762 ********* 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 23:16:21 +0000 (0:00:00.036) 0:02:17.798 ********* 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 23:16:21 +0000 (0:00:00.036) 0:02:17.835 ********* 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 23:16:21 +0000 (0:00:00.041) 0:02:17.876 ********* 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 23:16:21 +0000 (0:00:00.042) 0:02:17.918 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658445361.2724264, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658445361.2504263, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 17273, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658445361.2504263, "nlink": 1, "path": "/dev/sda", "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 23:16:22 +0000 (0:00:00.383) 0:02:18.302 ********* 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 23:16:22 +0000 (0:00:00.045) 0:02:18.347 ********* 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 23:16:22 +0000 (0:00:00.045) 0:02:18.393 ********* 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 23:16:22 +0000 (0:00:00.038) 0:02:18.431 ********* 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 23:16:22 +0000 (0:00:00.024) 0:02:18.455 ********* 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 23:16:22 +0000 (0:00:00.037) 0:02:18.493 ********* 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 23:16:22 +0000 (0:00:00.024) 0:02:18.517 ********* 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 23:16:23 +0000 (0:00:01.232) 0:02:19.750 ********* 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 23:16:23 +0000 (0:00:00.025) 0:02:19.776 ********* 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 23:16:23 +0000 (0:00:00.026) 0:02:19.802 ********* 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 23:16:23 +0000 (0:00:00.052) 0:02:19.855 ********* 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 23:16:23 +0000 (0:00:00.024) 0:02:19.879 ********* 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 23:16:23 +0000 (0:00:00.025) 0:02:19.905 ********* 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 23:16:23 +0000 (0:00:00.024) 0:02:19.929 ********* 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 23:16:23 +0000 (0:00:00.024) 0:02:19.953 ********* 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 23:16:23 +0000 (0:00:00.024) 0:02:19.978 ********* 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 23:16:23 +0000 (0:00:00.095) 0:02:20.073 ********* 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 23:16:23 +0000 (0:00:00.092) 0:02:20.165 ********* 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 23:16:23 +0000 (0:00:00.037) 0:02:20.203 ********* 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 23:16:24 +0000 (0:00:00.070) 0:02:20.273 ********* 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 23:16:24 +0000 (0:00:00.036) 0:02:20.310 ********* 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 23:16:24 +0000 (0:00:00.036) 0:02:20.347 ********* 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 23:16:24 +0000 (0:00:00.037) 0:02:20.384 ********* 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 23:16:24 +0000 (0:00:00.035) 0:02:20.419 ********* 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 23:16:24 +0000 (0:00:00.033) 0:02:20.453 ********* 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 23:16:24 +0000 (0:00:00.033) 0:02:20.486 ********* 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 23:16:24 +0000 (0:00:00.034) 0:02:20.520 ********* 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 23:16:24 +0000 (0:00:00.036) 0:02:20.556 ********* 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 23:16:24 +0000 (0:00:00.038) 0:02:20.595 ********* 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 23:16:24 +0000 (0:00:00.025) 0:02:20.620 ********* 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 23:16:24 +0000 (0:00:00.033) 0:02:20.654 ********* 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 23:16:24 +0000 (0:00:00.034) 0:02:20.688 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:16:24 +0000 (0:00:00.032) 0:02:20.721 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:16:24 +0000 (0:00:00.038) 0:02:20.759 ********* 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 23:16:24 +0000 (0:00:00.037) 0:02:20.797 ********* 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 23:16:24 +0000 (0:00:00.038) 0:02:20.835 ********* 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 23:16:24 +0000 (0:00:00.036) 0:02:20.872 ********* 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 23:16:24 +0000 (0:00:00.039) 0:02:20.911 ********* 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 23:16:24 +0000 (0:00:00.040) 0:02:20.951 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:16:24 +0000 (0:00:00.042) 0:02:20.993 ********* 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 23:16:24 +0000 (0:00:00.025) 0:02:21.019 ********* 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 23:16:24 +0000 (0:00:00.023) 0:02:21.042 ********* 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 23:16:24 +0000 (0:00:00.023) 0:02:21.066 ********* 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 23:16:24 +0000 (0:00:00.026) 0:02:21.093 ********* 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 23:16:24 +0000 (0:00:00.024) 0:02:21.118 ********* 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 23:16:24 +0000 (0:00:00.024) 0:02:21.142 ********* 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 23:16:24 +0000 (0:00:00.025) 0:02:21.168 ********* 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 23:16:24 +0000 (0:00:00.026) 0:02:21.195 ********* 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 23:16:24 +0000 (0:00:00.035) 0:02:21.230 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:100 Thursday 21 July 2022 23:16:25 +0000 (0:00:00.034) 0:02:21.265 ********* 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 23:16:25 +0000 (0:00:00.078) 0:02:21.343 ********* 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 23:16:25 +0000 (0:00:00.042) 0:02:21.386 ********* 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 23:16:25 +0000 (0:00:00.564) 0:02:21.950 ********* 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 23:16:25 +0000 (0:00:00.064) 0:02:22.015 ********* 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 23:16:25 +0000 (0:00:00.038) 0:02:22.053 ********* 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 23:16:25 +0000 (0:00:00.038) 0:02:22.092 ********* 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 23:16:25 +0000 (0:00:00.057) 0:02:22.149 ********* 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 23:16:25 +0000 (0:00:00.021) 0:02:22.171 ********* 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 23:16:25 +0000 (0:00:00.027) 0:02:22.198 ********* 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 23:16:25 +0000 (0:00:00.036) 0:02:22.235 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "mount_point": "/opt/test", "name": "test1", "state": "absent", "type": "disk" }, { "disks": [ "sdb" ], "mount_point": "none", "name": "test2", "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 23:16:26 +0000 (0:00:00.037) 0:02:22.273 ********* 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 23:16:26 +0000 (0:00:00.027) 0:02:22.301 ********* 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 23:16:26 +0000 (0:00:00.028) 0:02:22.330 ********* 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 23:16:26 +0000 (0:00:00.029) 0:02:22.359 ********* 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 23:16:26 +0000 (0:00:00.027) 0:02:22.387 ********* 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 23:16:26 +0000 (0:00:00.058) 0:02:22.445 ********* 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 23:16:26 +0000 (0:00:00.022) 0:02:22.467 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "swap", "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=00c22995-de4f-4c5f-97bc-4c4314170b94", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 23:16:27 +0000 (0:00:01.368) 0:02:23.835 ********* 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 23:16:27 +0000 (0:00:00.039) 0:02:23.874 ********* 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 23:16:27 +0000 (0:00:00.021) 0:02:23.895 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "swap", "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=00c22995-de4f-4c5f-97bc-4c4314170b94", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 23:16:27 +0000 (0:00:00.038) 0:02:23.933 ********* 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 23:16:27 +0000 (0:00:00.035) 0:02:23.969 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=00c22995-de4f-4c5f-97bc-4c4314170b94", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 23:16:27 +0000 (0:00:00.042) 0:02:24.011 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': 'UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d" } 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 23:16:28 +0000 (0:00:00.400) 0:02:24.412 ********* 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 23:16:28 +0000 (0:00:00.605) 0:02:25.018 ********* 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 23:16:28 +0000 (0:00:00.040) 0:02:25.058 ********* 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 23:16:29 +0000 (0:00:00.609) 0:02:25.667 ********* 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 23:16:29 +0000 (0:00:00.361) 0:02:26.029 ********* 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 23:16:29 +0000 (0:00:00.024) 0:02:26.053 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:116 Thursday 21 July 2022 23:16:30 +0000 (0:00:01.044) 0:02:27.098 ********* 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 23:16:30 +0000 (0:00:00.059) 0:02:27.157 ********* 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 23:16:30 +0000 (0:00:00.038) 0:02:27.196 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdb", "_mount_id": "UUID=00c22995-de4f-4c5f-97bc-4c4314170b94", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 23:16:30 +0000 (0:00:00.052) 0:02:27.248 ********* 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-23-13-51-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 23:16:31 +0000 (0:00:00.383) 0:02:27.631 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.003982", "end": "2022-07-21 19:16:32.702156", "rc": 0, "start": "2022-07-21 19:16:31.698174" } 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 23:16:32 +0000 (0:00:01.394) 0:02:29.026 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004061", "end": "2022-07-21 19:16:34.086291", "failed_when_result": false, "rc": 1, "start": "2022-07-21 19:16:33.082230" } 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 23:16:34 +0000 (0:00:01.385) 0:02:30.412 ********* 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 23:16:34 +0000 (0:00:00.022) 0:02:30.434 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=2a970c18-0e1f-4596-a8e1-8cb85051c23d'}) 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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sdb'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=00c22995-de4f-4c5f-97bc-4c4314170b94'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 23:16:34 +0000 (0:00:00.065) 0:02:30.500 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 23:16:34 +0000 (0:00:00.050) 0:02:30.550 ********* 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 23:16:34 +0000 (0:00:00.081) 0:02:30.632 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 23:16:34 +0000 (0:00:00.073) 0:02:30.706 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 23:16:34 +0000 (0:00:00.052) 0:02:30.759 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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 23:16:34 +0000 (0:00:00.023) 0:02:30.782 ********* 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 23:16:34 +0000 (0:00:00.080) 0:02:30.863 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 23:16:34 +0000 (0:00:00.081) 0:02:30.945 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002702", "end": "2022-07-21 19:16:35.006790", "rc": 0, "start": "2022-07-21 19:16:35.004088" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 23:16:35 +0000 (0:00:00.384) 0:02:31.329 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002460", "end": "2022-07-21 19:16:35.383911", "rc": 0, "start": "2022-07-21 19:16:35.381451" } STDOUT: Filename Type Size Used Priority TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 23:16:35 +0000 (0:00:00.372) 0:02:31.702 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 23:16:35 +0000 (0:00:00.055) 0:02:31.757 ********* 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 23:16:35 +0000 (0:00:00.034) 0:02:31.792 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 23:16:35 +0000 (0:00:00.061) 0:02:31.853 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 23:16:35 +0000 (0:00:00.025) 0:02:31.879 ********* 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 23:16:35 +0000 (0:00:00.062) 0:02:31.941 ********* 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 23:16:35 +0000 (0:00:00.044) 0:02:31.986 ********* 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 23:16:35 +0000 (0:00:00.038) 0:02:32.025 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 23:16:35 +0000 (0:00:00.026) 0:02:32.051 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 23:16:35 +0000 (0:00:00.025) 0:02:32.076 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658445387.4574263, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658445387.4574263, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 17273, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658445387.4574263, "nlink": 1, "path": "/dev/sda", "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 23:16:36 +0000 (0:00:00.388) 0:02:32.464 ********* 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 23:16:36 +0000 (0:00:00.038) 0:02:32.503 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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 23:16:36 +0000 (0:00:00.022) 0:02:32.526 ********* 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 23:16:36 +0000 (0:00:00.036) 0:02:32.563 ********* 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 23:16:36 +0000 (0:00:00.025) 0:02:32.588 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 23:16:36 +0000 (0:00:00.024) 0:02:32.613 ********* 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 23:16:36 +0000 (0:00:00.022) 0:02:32.635 ********* 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 23:16:37 +0000 (0:00:01.336) 0:02:33.971 ********* 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 23:16:37 +0000 (0:00:00.026) 0:02:33.998 ********* 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 23:16:37 +0000 (0:00:00.024) 0:02:34.022 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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 23:16:37 +0000 (0:00:00.021) 0:02:34.044 ********* 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 23:16:37 +0000 (0:00:00.021) 0:02:34.066 ********* 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 23:16:37 +0000 (0:00:00.023) 0:02:34.089 ********* 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 23:16:37 +0000 (0:00:00.024) 0:02:34.114 ********* 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 23:16:37 +0000 (0:00:00.024) 0:02:34.138 ********* 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 23:16:37 +0000 (0:00:00.023) 0:02:34.162 ********* 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 23:16:37 +0000 (0:00:00.050) 0:02:34.212 ********* 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 23:16:38 +0000 (0:00:00.099) 0:02:34.312 ********* 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 23:16:38 +0000 (0:00:00.038) 0:02:34.350 ********* 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 23:16:38 +0000 (0:00:00.036) 0:02:34.386 ********* 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 23:16:38 +0000 (0:00:00.036) 0:02:34.423 ********* 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 23:16:38 +0000 (0:00:00.074) 0:02:34.497 ********* 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 23:16:38 +0000 (0:00:00.107) 0:02:34.605 ********* 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 23:16:38 +0000 (0:00:00.039) 0:02:34.644 ********* 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 23:16:38 +0000 (0:00:00.037) 0:02:34.682 ********* 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 23:16:38 +0000 (0:00:00.039) 0:02:34.722 ********* 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 23:16:38 +0000 (0:00:00.037) 0:02:34.759 ********* 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 23:16:38 +0000 (0:00:00.035) 0:02:34.794 ********* 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 23:16:38 +0000 (0:00:00.037) 0:02:34.832 ********* 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 23:16:38 +0000 (0:00:00.026) 0:02:34.858 ********* 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 23:16:38 +0000 (0:00:00.037) 0:02:34.896 ********* 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 23:16:38 +0000 (0:00:00.038) 0:02:34.934 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:16:38 +0000 (0:00:00.038) 0:02:34.973 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:16:38 +0000 (0:00:00.039) 0:02:35.012 ********* 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 23:16:38 +0000 (0:00:00.038) 0:02:35.050 ********* 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 23:16:38 +0000 (0:00:00.038) 0:02:35.089 ********* 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 23:16:38 +0000 (0:00:00.035) 0:02:35.125 ********* 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 23:16:38 +0000 (0:00:00.045) 0:02:35.170 ********* 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 23:16:38 +0000 (0:00:00.043) 0:02:35.214 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:16:38 +0000 (0:00:00.039) 0:02:35.254 ********* 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 23:16:39 +0000 (0:00:00.027) 0:02:35.281 ********* 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 23:16:39 +0000 (0:00:00.028) 0:02:35.310 ********* 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 23:16:39 +0000 (0:00:00.024) 0:02:35.335 ********* 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 23:16:39 +0000 (0:00:00.024) 0:02:35.359 ********* 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 23:16:39 +0000 (0:00:00.024) 0:02:35.384 ********* 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 23:16:39 +0000 (0:00:00.025) 0:02:35.410 ********* 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 23:16:39 +0000 (0:00:00.024) 0:02:35.434 ********* 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 23:16:39 +0000 (0:00:00.025) 0:02:35.460 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 23:16:39 +0000 (0:00:00.036) 0:02:35.496 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 23:16:39 +0000 (0:00:00.050) 0:02:35.547 ********* 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 23:16:39 +0000 (0:00:00.074) 0:02:35.621 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 23:16:39 +0000 (0:00:00.042) 0:02:35.663 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 23:16:39 +0000 (0:00:00.054) 0:02:35.717 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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 23:16:39 +0000 (0:00:00.021) 0:02:35.739 ********* 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 23:16:39 +0000 (0:00:00.049) 0:02:35.788 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 23:16:39 +0000 (0:00:00.035) 0:02:35.824 ********* 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 23:16:39 +0000 (0:00:00.025) 0:02:35.850 ********* 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 23:16:39 +0000 (0:00:00.025) 0:02:35.875 ********* 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 23:16:39 +0000 (0:00:00.025) 0:02:35.901 ********* 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 23:16:39 +0000 (0:00:00.082) 0:02:35.984 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 23:16:39 +0000 (0:00:00.148) 0:02:36.132 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 23:16:39 +0000 (0:00:00.025) 0:02:36.157 ********* 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 23:16:39 +0000 (0:00:00.052) 0:02:36.210 ********* 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 23:16:39 +0000 (0:00:00.036) 0:02:36.247 ********* 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 23:16:40 +0000 (0:00:00.038) 0:02:36.286 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 23:16:40 +0000 (0:00:00.024) 0:02:36.310 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 23:16:40 +0000 (0:00:00.024) 0:02:36.334 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658445387.4114263, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658445387.4114263, "dev": 6, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 17268, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658445387.4114263, "nlink": 1, "path": "/dev/sdb", "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 23:16:40 +0000 (0:00:00.364) 0:02:36.699 ********* 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 23:16:40 +0000 (0:00:00.039) 0:02:36.738 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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 23:16:40 +0000 (0:00:00.024) 0:02:36.763 ********* 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 23:16:40 +0000 (0:00:00.039) 0:02:36.802 ********* 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 23:16:40 +0000 (0:00:00.026) 0:02:36.828 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 23:16:40 +0000 (0:00:00.022) 0:02:36.851 ********* 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 23:16:40 +0000 (0:00:00.023) 0:02:36.875 ********* 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 23:16:41 +0000 (0:00:01.217) 0:02:38.092 ********* 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 23:16:41 +0000 (0:00:00.025) 0:02:38.118 ********* 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 23:16:41 +0000 (0:00:00.023) 0:02:38.141 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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 23:16:41 +0000 (0:00:00.021) 0:02:38.163 ********* 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 23:16:41 +0000 (0:00:00.025) 0:02:38.189 ********* 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 23:16:41 +0000 (0:00:00.027) 0:02:38.216 ********* 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 23:16:41 +0000 (0:00:00.031) 0:02:38.248 ********* 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 23:16:42 +0000 (0:00:00.025) 0:02:38.274 ********* 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 23:16:42 +0000 (0:00:00.023) 0:02:38.297 ********* 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 23:16:42 +0000 (0:00:00.050) 0:02:38.347 ********* 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 23:16:42 +0000 (0:00:00.051) 0:02:38.399 ********* 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 23:16:42 +0000 (0:00:00.037) 0:02:38.437 ********* 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 23:16:42 +0000 (0:00:00.036) 0:02:38.473 ********* 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 23:16:42 +0000 (0:00:00.042) 0:02:38.516 ********* 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 23:16:42 +0000 (0:00:00.041) 0:02:38.557 ********* 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 23:16:42 +0000 (0:00:00.039) 0:02:38.596 ********* 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 23:16:42 +0000 (0:00:00.037) 0:02:38.634 ********* 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 23:16:42 +0000 (0:00:00.036) 0:02:38.670 ********* 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 23:16:42 +0000 (0:00:00.041) 0:02:38.712 ********* 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 23:16:42 +0000 (0:00:00.039) 0:02:38.752 ********* 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 23:16:42 +0000 (0:00:00.040) 0:02:38.792 ********* 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 23:16:42 +0000 (0:00:00.040) 0:02:38.832 ********* 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 23:16:42 +0000 (0:00:00.026) 0:02:38.859 ********* 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 23:16:42 +0000 (0:00:00.037) 0:02:38.897 ********* 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 23:16:42 +0000 (0:00:00.037) 0:02:38.934 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:16:42 +0000 (0:00:00.077) 0:02:39.012 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:16:42 +0000 (0:00:00.037) 0:02:39.049 ********* 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 23:16:42 +0000 (0:00:00.036) 0:02:39.086 ********* 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 23:16:42 +0000 (0:00:00.036) 0:02:39.123 ********* 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 23:16:42 +0000 (0:00:00.037) 0:02:39.161 ********* 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 23:16:42 +0000 (0:00:00.079) 0:02:39.240 ********* 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 23:16:43 +0000 (0:00:00.037) 0:02:39.278 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:16:43 +0000 (0:00:00.038) 0:02:39.316 ********* 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 23:16:43 +0000 (0:00:00.025) 0:02:39.342 ********* 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 23:16:43 +0000 (0:00:00.023) 0:02:39.366 ********* 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 23:16:43 +0000 (0:00:00.023) 0:02:39.390 ********* 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 23:16:43 +0000 (0:00:00.024) 0:02:39.414 ********* 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 23:16:43 +0000 (0:00:00.025) 0:02:39.440 ********* 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 23:16:43 +0000 (0:00:00.023) 0:02:39.464 ********* 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 23:16:43 +0000 (0:00:00.024) 0:02:39.488 ********* 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 23:16:43 +0000 (0:00:00.024) 0:02:39.512 ********* 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 23:16:43 +0000 (0:00:00.037) 0:02:39.550 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=474 changed=24 unreachable=0 failed=0 skipped=427 rescued=0 ignored=0 Thursday 21 July 2022 23:16:43 +0000 (0:00:00.045) 0:02:39.596 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ------ 50.93s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.28s /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 --- 2.25s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : Update facts ------------------------ 1.95s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : get service facts ------------------- 1.82s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Ensure cryptsetup is present -------------------------------------------- 1.72s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.53s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- Read the /etc/fstab file for volume existence --------------------------- 1.51s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 --------------------- Gathering Facts --------------------------------------------------------- 1.47s /tmp/tmpcv9gbk7i/tests/storage/tests_swap.yml:2 ------------------------------- fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 1.41s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.40s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 --------------------- set up internal repositories -------------------------------------------- 1.39s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Read the /etc/crypttab file --------------------------------------------- 1.39s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 --------------------- Read the /etc/fstab file for volume existence --------------------------- 1.38s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 --------------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.37s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gather swap info -------------------------------------------------------- 1.37s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 ---------------- Ensure cryptsetup is present -------------------------------------------- 1.34s /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.33s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 1.31s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 -----------