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 13:11: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 13:11:04 +0000 (0:00:01.316) 0:00:01.335 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_change_fs_scsi_generated.yml *********************************** 2 plays in /tmp/tmpw6dixrb5/tests/tests_change_fs_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/tests_change_fs_scsi_generated.yml:3 Thursday 21 July 2022 13:11:04 +0000 (0:00:00.033) 0:00:01.368 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpw6dixrb5/tests/tests_change_fs_scsi_generated.yml:7 Thursday 21 July 2022 13:11:05 +0000 (0:00:01.106) 0:00:02.474 ********* 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_change_fs.yml:2 Thursday 21 July 2022 13:11:05 +0000 (0:00:00.048) 0:00:02.523 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpw6dixrb5/tests/tests_change_fs.yml:13 Thursday 21 July 2022 13:11:07 +0000 (0:00:01.139) 0:00:03.662 ********* 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 13:11:07 +0000 (0:00:00.037) 0:00:03.699 ********* 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 13:11:07 +0000 (0:00:00.031) 0:00:03.730 ********* 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 13:11:08 +0000 (0:00:01.600) 0:00:05.331 ********* 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 13:11:08 +0000 (0:00:00.052) 0:00:05.384 ********* 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 13:11:08 +0000 (0:00:00.027) 0:00:05.412 ********* 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 13:11:08 +0000 (0:00:00.028) 0:00:05.440 ********* 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 13:11:08 +0000 (0:00:00.048) 0:00:05.489 ********* 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 13:11:08 +0000 (0:00:00.018) 0:00:05.507 ********* 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 13:12:00 +0000 (0:00:51.818) 0:00:57.326 ********* 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 13:12:00 +0000 (0:00:00.034) 0:00:57.361 ********* 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 13:12:00 +0000 (0:00:00.033) 0:00:57.394 ********* 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 13:12:01 +0000 (0:00:00.712) 0:00:58.107 ********* 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 13:12:01 +0000 (0:00:00.043) 0:00:58.150 ********* 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 13:12:01 +0000 (0:00:00.031) 0:00:58.182 ********* 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 13:12:01 +0000 (0:00:00.037) 0:00:58.220 ********* 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 13:12:01 +0000 (0:00:00.035) 0:00:58.255 ********* 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 13:12:02 +0000 (0:00:01.315) 0:00:59.570 ********* 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-rf39bbf6ceca548c8aa22a1619b3688a1.service": { "name": "run-rf39bbf6ceca548c8aa22a1619b3688a1.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 13:12:04 +0000 (0:00:01.866) 0:01:01.437 ********* 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 13:12:04 +0000 (0:00:00.062) 0:01:01.500 ********* 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 13:12:04 +0000 (0:00:00.023) 0:01:01.524 ********* 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 13:12:05 +0000 (0:00:00.600) 0:01:02.124 ********* 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 13:12:05 +0000 (0:00:00.038) 0:01:02.162 ********* 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 13:12:05 +0000 (0:00:00.021) 0:01:02.184 ********* 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 13:12:05 +0000 (0:00:00.035) 0:01:02.219 ********* 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 13:12:05 +0000 (0:00:00.035) 0:01:02.255 ********* 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 13:12:05 +0000 (0:00:00.067) 0:01:02.322 ********* 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 13:12:05 +0000 (0:00:00.036) 0:01:02.359 ********* 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 13:12:05 +0000 (0:00:00.053) 0:01:02.413 ********* 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 13:12:05 +0000 (0:00:00.037) 0:01:02.450 ********* 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 13:12:05 +0000 (0:00:00.024) 0:01:02.475 ********* 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 13:12:06 +0000 (0:00:00.489) 0:01:02.964 ********* 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 13:12:06 +0000 (0:00:00.023) 0:01:02.987 ********* 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_change_fs.yml:16 Thursday 21 July 2022 13:12:07 +0000 (0:00:00.979) 0:01:03.967 ********* 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_change_fs.yml:23 Thursday 21 July 2022 13:12:07 +0000 (0:00:00.036) 0:01:04.003 ********* 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 13:12:07 +0000 (0:00:00.037) 0:01:04.041 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:9 Thursday 21 July 2022 13:12:07 +0000 (0:00:00.518) 0:01:04.559 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "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 13:12:07 +0000 (0:00:00.036) 0:01:04.596 ********* 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 13:12:08 +0000 (0:00:00.036) 0:01:04.632 ********* ok: [/cache/rhel-8.qcow2] => { "unused_disks": [ "sda" ] } TASK [Create a LVM logical volume with default fs_type] ************************ task path: /tmp/tmpw6dixrb5/tests/tests_change_fs.yml:28 Thursday 21 July 2022 13:12:08 +0000 (0:00:00.033) 0:01:04.666 ********* 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 13:12:08 +0000 (0:00:00.042) 0:01:04.709 ********* 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 13:12:08 +0000 (0:00:00.034) 0:01:04.743 ********* 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 13:12:08 +0000 (0:00:00.515) 0:01:05.259 ********* 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 13:12:08 +0000 (0:00:00.061) 0:01:05.321 ********* 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 13:12:08 +0000 (0:00:00.032) 0:01:05.353 ********* 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 13:12:08 +0000 (0:00:00.065) 0:01:05.418 ********* 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 13:12:08 +0000 (0:00:00.050) 0:01:05.468 ********* 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 13:12:08 +0000 (0:00:00.022) 0:01:05.490 ********* 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 13:12:08 +0000 (0:00:00.028) 0:01:05.519 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } 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 13:12:08 +0000 (0:00:00.100) 0:01:05.619 ********* 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 13:12:09 +0000 (0:00:00.034) 0:01:05.653 ********* 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 13:12:09 +0000 (0:00:00.026) 0:01:05.680 ********* 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 13:12:09 +0000 (0:00:00.025) 0:01:05.706 ********* 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 13:12:09 +0000 (0:00:00.029) 0:01:05.735 ********* 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 13:12:09 +0000 (0:00:00.027) 0:01:05.763 ********* 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 13:12:09 +0000 (0:00:00.056) 0:01:05.819 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 13:12:09 +0000 (0:00:00.021) 0:01:05.841 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:12:10 +0000 (0:00:01.669) 0:01:07.511 ********* 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 13:12:10 +0000 (0:00:00.037) 0:01:07.549 ********* 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 13:12:10 +0000 (0:00:00.022) 0:01:07.571 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:12:10 +0000 (0:00:00.034) 0:01:07.606 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:12:11 +0000 (0:00:00.038) 0:01:07.645 ********* 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 13:12:11 +0000 (0:00:00.036) 0:01:07.681 ********* 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 13:12:11 +0000 (0:00:00.037) 0:01:07.719 ********* 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 13:12:11 +0000 (0:00:00.895) 0:01:08.614 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:12:12 +0000 (0:00:00.560) 0:01:09.175 ********* 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 13:12:13 +0000 (0:00:00.603) 0:01:09.779 ********* 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 13:12:13 +0000 (0:00:00.365) 0:01:10.144 ********* 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 13:12:13 +0000 (0:00:00.023) 0:01:10.167 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_change_fs.yml:40 Thursday 21 July 2022 13:12:14 +0000 (0:00:00.962) 0:01:11.129 ********* 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 13:12:14 +0000 (0:00:00.041) 0:01:11.170 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:12:14 +0000 (0:00:00.093) 0:01:11.264 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:12:14 +0000 (0:00:00.037) 0:01:11.301 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "kabXqQ-SVjD-bgBu-uc4y-m7Pp-TSxo-DHkSeF" }, "/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-13-10-50-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 13:12:15 +0000 (0:00:00.491) 0:01:11.793 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002741", "end": "2022-07-21 09:12:15.780905", "rc": 0, "start": "2022-07-21 09:12:15.778164" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 13:12:15 +0000 (0:00:00.473) 0:01:12.266 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003176", "end": "2022-07-21 09:12:16.161794", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:12:16.158618" } 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 13:12:16 +0000 (0:00:00.381) 0:01:12.647 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 13:12:16 +0000 (0:00:00.058) 0:01:12.706 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 13:12:16 +0000 (0:00:00.036) 0:01:12.743 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 13:12:16 +0000 (0:00:00.049) 0:01:12.792 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 13:12:16 +0000 (0:00:00.053) 0:01:12.846 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 13:12:16 +0000 (0:00:00.520) 0:01:13.367 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 13:12:16 +0000 (0:00:00.050) 0:01:13.417 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 13:12:16 +0000 (0:00:00.051) 0:01:13.468 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 13:12:16 +0000 (0:00:00.053) 0:01:13.522 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 13:12:16 +0000 (0:00:00.040) 0:01:13.562 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.084) 0:01:13.647 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.026) 0:01:13.674 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.042) 0:01:13.716 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.043) 0:01:13.759 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.049) 0:01:13.809 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.026) 0:01:13.835 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.025) 0:01:13.861 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.024) 0:01:13.886 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.026) 0:01:13.912 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.024) 0:01:13.936 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.024) 0:01:13.961 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.034) 0:01:13.996 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.044) 0:01:14.041 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.041) 0:01:14.082 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.029) 0:01:14.111 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.027) 0:01:14.139 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.026) 0:01:14.165 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.044) 0:01:14.209 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.044) 0:01:14.253 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.023) 0:01:14.277 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.023) 0:01:14.300 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.023) 0:01:14.324 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.023) 0:01:14.347 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.048) 0:01:14.395 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.048) 0:01:14.444 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.027) 0:01:14.471 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.043) 0:01:14.515 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.050) 0:01:14.565 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 13:12:17 +0000 (0:00:00.055) 0:01:14.620 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.037) 0:01:14.658 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.036) 0:01:14.694 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.036) 0:01:14.731 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.037) 0:01:14.768 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.033) 0:01:14.801 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.047) 0:01:14.849 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.044) 0:01:14.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.022) 0:01:14.916 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.024) 0:01:14.941 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.054) 0:01:14.995 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.025) 0:01:15.021 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.025) 0:01:15.047 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.024) 0:01:15.072 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.026) 0:01:15.098 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.033) 0:01:15.131 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.034) 0:01:15.166 ********* 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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.042) 0:01:15.208 ********* 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 13:12:18 +0000 (0:00:00.050) 0:01:15.259 ********* 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 13:12:18 +0000 (0:00:00.086) 0:01:15.345 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:12:18 +0000 (0:00:00.042) 0:01:15.387 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" } ], "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 13:12:18 +0000 (0:00:00.053) 0:01:15.441 ********* 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 13:12:18 +0000 (0:00:00.048) 0:01:15.490 ********* 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 13:12:18 +0000 (0:00:00.048) 0:01:15.538 ********* 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 13:12:18 +0000 (0:00:00.051) 0:01:15.590 ********* 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 13:12:18 +0000 (0:00:00.025) 0:01:15.615 ********* 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 13:12:19 +0000 (0:00:00.024) 0:01:15.639 ********* 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 13:12:19 +0000 (0:00:00.025) 0:01:15.665 ********* 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 13:12:19 +0000 (0:00:00.034) 0:01:15.699 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 13:12:19 +0000 (0:00:00.062) 0:01:15.762 ********* 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 13:12:19 +0000 (0:00:00.050) 0:01:15.813 ********* 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 13:12:19 +0000 (0:00:00.048) 0:01:15.861 ********* 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 13:12:19 +0000 (0:00:00.036) 0:01:15.897 ********* 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 13:12:19 +0000 (0:00:00.035) 0:01:15.933 ********* 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 13:12:19 +0000 (0:00:00.039) 0:01:15.973 ********* 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 13:12:19 +0000 (0:00:00.038) 0:01:16.011 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658409130.9741488, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658409130.9741488, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 76924, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658409130.9741488, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 13:12:19 +0000 (0:00:00.386) 0:01:16.398 ********* 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 13:12:19 +0000 (0:00:00.037) 0:01:16.436 ********* 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 13:12:19 +0000 (0:00:00.043) 0:01:16.479 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:12:19 +0000 (0:00:00.083) 0:01:16.562 ********* 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 13:12:19 +0000 (0:00:00.025) 0:01:16.588 ********* 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 13:12:20 +0000 (0:00:00.097) 0:01:16.686 ********* 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 13:12:20 +0000 (0:00:00.023) 0:01:16.709 ********* 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 13:12:21 +0000 (0:00:01.747) 0:01:18.456 ********* 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 13:12:21 +0000 (0:00:00.025) 0:01:18.481 ********* 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 13:12:21 +0000 (0:00:00.023) 0:01:18.505 ********* 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 13:12:21 +0000 (0:00:00.056) 0:01:18.561 ********* 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 13:12:21 +0000 (0:00:00.030) 0:01:18.592 ********* 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 13:12:21 +0000 (0:00:00.026) 0:01:18.618 ********* 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 13:12:22 +0000 (0:00:00.023) 0:01:18.641 ********* 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 13:12:22 +0000 (0:00:00.034) 0:01:18.676 ********* 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 13:12:22 +0000 (0:00:00.026) 0:01:18.702 ********* 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 13:12:22 +0000 (0:00:00.053) 0:01:18.755 ********* 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 13:12:22 +0000 (0:00:00.050) 0:01:18.805 ********* 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 13:12:22 +0000 (0:00:00.037) 0:01:18.842 ********* 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 13:12:22 +0000 (0:00:00.036) 0:01:18.879 ********* 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 13:12:22 +0000 (0:00:00.035) 0:01:18.914 ********* 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 13:12:22 +0000 (0:00:00.038) 0:01:18.953 ********* 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 13:12:22 +0000 (0:00:00.035) 0:01:18.988 ********* 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 13:12:22 +0000 (0:00:00.038) 0:01:19.027 ********* 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 13:12:22 +0000 (0:00:00.034) 0:01:19.062 ********* 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 13:12:22 +0000 (0:00:00.037) 0:01:19.099 ********* 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 13:12:22 +0000 (0:00:00.034) 0:01:19.133 ********* 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 13:12:22 +0000 (0:00:00.034) 0:01:19.168 ********* 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 13:12:22 +0000 (0:00:00.033) 0:01:19.202 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 13:12:23 +0000 (0:00:00.502) 0:01:19.704 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 13:12:23 +0000 (0:00:00.409) 0:01:20.114 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 13:12:23 +0000 (0:00:00.050) 0:01:20.164 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:12:23 +0000 (0:00:00.076) 0:01:20.241 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:12:23 +0000 (0:00:00.044) 0:01:20.285 ********* 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 13:12:23 +0000 (0:00:00.037) 0:01:20.323 ********* 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 13:12:23 +0000 (0:00:00.044) 0:01:20.368 ********* 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 13:12:23 +0000 (0:00:00.037) 0:01:20.405 ********* 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 13:12:23 +0000 (0:00:00.039) 0:01:20.445 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 13:12:23 +0000 (0:00:00.033) 0:01:20.479 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:12:23 +0000 (0:00:00.064) 0:01:20.543 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 13:12:24 +0000 (0:00:00.114) 0:01:20.658 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.038279", "end": "2022-07-21 09:12:24.586863", "rc": 0, "start": "2022-07-21 09:12:24.548584" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 13:12:24 +0000 (0:00:00.416) 0:01:21.074 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 13:12:24 +0000 (0:00:00.052) 0:01:21.126 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 13:12:24 +0000 (0:00:00.051) 0:01:21.177 ********* 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 13:12:24 +0000 (0:00:00.036) 0:01:21.213 ********* 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 13:12:24 +0000 (0:00:00.035) 0:01:21.249 ********* 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 13:12:24 +0000 (0:00:00.038) 0:01:21.288 ********* 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 13:12:24 +0000 (0:00:00.041) 0:01:21.329 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:12:24 +0000 (0:00:00.038) 0:01:21.367 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:12:24 +0000 (0:00:00.023) 0:01:21.391 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the file system signature on the logical volume created above] **** task path: /tmp/tmpw6dixrb5/tests/tests_change_fs.yml:42 Thursday 21 July 2022 13:12:24 +0000 (0:00:00.038) 0:01:21.430 ********* 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 13:12:24 +0000 (0:00:00.053) 0:01:21.483 ********* 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 13:12:24 +0000 (0:00:00.037) 0:01:21.521 ********* 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 13:12:25 +0000 (0:00:00.534) 0:01:22.056 ********* 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 13:12:25 +0000 (0:00:00.065) 0:01:22.121 ********* 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 13:12:25 +0000 (0:00:00.037) 0:01:22.159 ********* 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 13:12:25 +0000 (0:00:00.037) 0:01:22.197 ********* 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 13:12:25 +0000 (0:00:00.049) 0:01:22.247 ********* 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 13:12:25 +0000 (0:00:00.021) 0:01:22.269 ********* 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 13:12:25 +0000 (0:00:00.032) 0:01:22.301 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "xfs", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } 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 13:12:25 +0000 (0:00:00.057) 0:01:22.358 ********* 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 13:12:25 +0000 (0:00:00.038) 0:01:22.397 ********* 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 13:12:25 +0000 (0:00:00.031) 0:01:22.428 ********* 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 13:12:25 +0000 (0:00:00.033) 0:01:22.462 ********* 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 13:12:25 +0000 (0:00:00.033) 0:01:22.495 ********* 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 13:12:25 +0000 (0:00:00.030) 0:01:22.526 ********* 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 13:12:25 +0000 (0:00:00.095) 0:01:22.622 ********* 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 13:12:26 +0000 (0:00:00.024) 0:01:22.646 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:12:27 +0000 (0:00:01.392) 0:01:24.038 ********* 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 13:12:27 +0000 (0:00:00.078) 0:01:24.116 ********* 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 13:12:27 +0000 (0:00:00.022) 0:01:24.139 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:12:27 +0000 (0:00:00.040) 0:01:24.179 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:12:27 +0000 (0:00:00.040) 0:01:24.220 ********* 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 13:12:27 +0000 (0:00:00.037) 0:01:24.257 ********* 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 13:12:27 +0000 (0:00:00.039) 0:01:24.296 ********* 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 13:12:28 +0000 (0:00:00.622) 0:01:24.919 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:12:28 +0000 (0:00:00.425) 0:01:25.344 ********* 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 13:12:29 +0000 (0:00:00.634) 0:01:25.979 ********* 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 13:12:29 +0000 (0:00:00.392) 0:01:26.371 ********* 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 13:12:29 +0000 (0:00:00.024) 0:01:26.396 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_change_fs.yml:55 Thursday 21 July 2022 13:12:30 +0000 (0:00:00.976) 0:01:27.372 ********* 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 13:12:30 +0000 (0:00:00.045) 0:01:27.417 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:12:30 +0000 (0:00:00.083) 0:01:27.500 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:12:30 +0000 (0:00:00.039) 0:01:27.540 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "kabXqQ-SVjD-bgBu-uc4y-m7Pp-TSxo-DHkSeF" }, "/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-13-10-50-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 13:12:31 +0000 (0:00:00.393) 0:01:27.934 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002899", "end": "2022-07-21 09:12:31.866370", "rc": 0, "start": "2022-07-21 09:12:31.863471" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 13:12:31 +0000 (0:00:00.419) 0:01:28.353 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002943", "end": "2022-07-21 09:12:32.297031", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:12:32.294088" } 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 13:12:32 +0000 (0:00:00.428) 0:01:28.782 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 13:12:32 +0000 (0:00:00.061) 0:01:28.843 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 13:12:32 +0000 (0:00:00.037) 0:01:28.880 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 13:12:32 +0000 (0:00:00.048) 0:01:28.929 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 13:12:32 +0000 (0:00:00.058) 0:01:28.987 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 13:12:32 +0000 (0:00:00.385) 0:01:29.372 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 13:12:32 +0000 (0:00:00.050) 0:01:29.423 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 13:12:32 +0000 (0:00:00.054) 0:01:29.477 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 13:12:32 +0000 (0:00:00.052) 0:01:29.530 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 13:12:32 +0000 (0:00:00.040) 0:01:29.570 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.054) 0:01:29.624 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.026) 0:01:29.651 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.046) 0:01:29.697 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.043) 0:01:29.740 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.023) 0:01:29.764 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.023) 0:01:29.788 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.024) 0:01:29.812 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.026) 0:01:29.838 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.025) 0:01:29.864 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.025) 0:01:29.889 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.025) 0:01:29.914 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.036) 0:01:29.950 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.042) 0:01:29.993 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.043) 0:01:30.036 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.028) 0:01:30.065 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.030) 0:01:30.096 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.029) 0:01:30.125 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.079) 0:01:30.204 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.045) 0:01:30.250 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.025) 0:01:30.276 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.024) 0:01:30.301 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.024) 0:01:30.326 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.024) 0:01:30.351 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.048) 0:01:30.400 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.051) 0:01:30.451 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.031) 0:01:30.482 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.044) 0:01:30.527 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.047) 0:01:30.575 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 13:12:33 +0000 (0:00:00.046) 0:01:30.622 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.038) 0:01:30.660 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.036) 0:01:30.697 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.039) 0:01:30.737 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.035) 0:01:30.772 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.034) 0:01:30.806 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.048) 0:01:30.855 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.055) 0:01:30.910 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.028) 0:01:30.938 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.028) 0:01:30.967 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.028) 0:01:30.995 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.026) 0:01:31.022 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.026) 0:01:31.048 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.027) 0:01:31.076 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.025) 0:01:31.101 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.037) 0:01:31.139 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.038) 0:01:31.177 ********* 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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.048) 0:01:31.226 ********* 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 13:12:34 +0000 (0:00:00.052) 0:01:31.278 ********* 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 13:12:34 +0000 (0:00:00.083) 0:01:31.362 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:12:34 +0000 (0:00:00.129) 0:01:31.491 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" } ], "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 13:12:34 +0000 (0:00:00.058) 0:01:31.550 ********* 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 13:12:34 +0000 (0:00:00.066) 0:01:31.616 ********* 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 13:12:35 +0000 (0:00:00.055) 0:01:31.672 ********* 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 13:12:35 +0000 (0:00:00.052) 0:01:31.724 ********* 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 13:12:35 +0000 (0:00:00.026) 0:01:31.751 ********* 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 13:12:35 +0000 (0:00:00.026) 0:01:31.777 ********* 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 13:12:35 +0000 (0:00:00.026) 0:01:31.804 ********* 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 13:12:35 +0000 (0:00:00.035) 0:01:31.840 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 13:12:35 +0000 (0:00:00.067) 0:01:31.907 ********* 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 13:12:35 +0000 (0:00:00.055) 0:01:31.963 ********* 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 13:12:35 +0000 (0:00:00.048) 0:01:32.012 ********* 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 13:12:35 +0000 (0:00:00.035) 0:01:32.047 ********* 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 13:12:35 +0000 (0:00:00.035) 0:01:32.082 ********* 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 13:12:35 +0000 (0:00:00.039) 0:01:32.122 ********* 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 13:12:35 +0000 (0:00:00.041) 0:01:32.163 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658409130.9741488, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658409130.9741488, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 76924, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658409130.9741488, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 13:12:35 +0000 (0:00:00.393) 0:01:32.557 ********* 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 13:12:35 +0000 (0:00:00.041) 0:01:32.598 ********* 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 13:12:36 +0000 (0:00:00.039) 0:01:32.638 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:12:36 +0000 (0:00:00.042) 0:01:32.681 ********* 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 13:12:36 +0000 (0:00:00.027) 0:01:32.708 ********* 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 13:12:36 +0000 (0:00:00.042) 0:01:32.751 ********* 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 13:12:36 +0000 (0:00:00.025) 0:01:32.777 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 13:12:37 +0000 (0:00:01.367) 0:01:34.145 ********* 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 13:12:37 +0000 (0:00:00.024) 0:01:34.170 ********* 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 13:12:37 +0000 (0:00:00.025) 0:01:34.195 ********* 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 13:12:37 +0000 (0:00:00.085) 0:01:34.281 ********* 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 13:12:37 +0000 (0:00:00.027) 0:01:34.308 ********* 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 13:12:37 +0000 (0:00:00.023) 0:01:34.332 ********* 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 13:12:37 +0000 (0:00:00.023) 0:01:34.356 ********* 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 13:12:37 +0000 (0:00:00.025) 0:01:34.381 ********* 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 13:12:37 +0000 (0:00:00.027) 0:01:34.409 ********* 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 13:12:37 +0000 (0:00:00.086) 0:01:34.496 ********* 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 13:12:37 +0000 (0:00:00.086) 0:01:34.582 ********* 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 13:12:38 +0000 (0:00:00.098) 0:01:34.681 ********* 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 13:12:38 +0000 (0:00:00.038) 0:01:34.720 ********* 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 13:12:38 +0000 (0:00:00.037) 0:01:34.757 ********* 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 13:12:38 +0000 (0:00:00.037) 0:01:34.795 ********* 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 13:12:38 +0000 (0:00:00.037) 0:01:34.833 ********* 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 13:12:38 +0000 (0:00:00.037) 0:01:34.870 ********* 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 13:12:38 +0000 (0:00:00.037) 0:01:34.908 ********* 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 13:12:38 +0000 (0:00:00.039) 0:01:34.947 ********* 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 13:12:38 +0000 (0:00:00.038) 0:01:34.985 ********* 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 13:12:38 +0000 (0:00:00.037) 0:01:35.022 ********* 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 13:12:38 +0000 (0:00:00.037) 0:01:35.060 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 13:12:38 +0000 (0:00:00.388) 0:01:35.449 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 13:12:39 +0000 (0:00:00.383) 0:01:35.832 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 13:12:39 +0000 (0:00:00.053) 0:01:35.886 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:12:39 +0000 (0:00:00.037) 0:01:35.923 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:12:39 +0000 (0:00:00.038) 0:01:35.962 ********* 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 13:12:39 +0000 (0:00:00.037) 0:01:35.999 ********* 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 13:12:39 +0000 (0:00:00.037) 0:01:36.036 ********* 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 13:12:39 +0000 (0:00:00.041) 0:01:36.077 ********* 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 13:12:39 +0000 (0:00:00.046) 0:01:36.124 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 13:12:39 +0000 (0:00:00.043) 0:01:36.167 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:12:39 +0000 (0:00:00.040) 0:01:36.208 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 13:12:39 +0000 (0:00:00.058) 0:01:36.266 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035326", "end": "2022-07-21 09:12:40.195861", "rc": 0, "start": "2022-07-21 09:12:40.160535" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 13:12:40 +0000 (0:00:00.418) 0:01:36.685 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 13:12:40 +0000 (0:00:00.056) 0:01:36.741 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 13:12:40 +0000 (0:00:00.054) 0:01:36.795 ********* 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 13:12:40 +0000 (0:00:00.041) 0:01:36.837 ********* 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 13:12:40 +0000 (0:00:00.041) 0:01:36.878 ********* 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 13:12:40 +0000 (0:00:00.041) 0:01:36.920 ********* 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 13:12:40 +0000 (0:00:00.040) 0:01:36.960 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:12:40 +0000 (0:00:00.095) 0:01:37.056 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:12:40 +0000 (0:00:00.025) 0:01:37.082 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Re-run the role on the same volume without specifying fs_type] *********** task path: /tmp/tmpw6dixrb5/tests/tests_change_fs.yml:57 Thursday 21 July 2022 13:12:40 +0000 (0:00:00.037) 0:01:37.119 ********* 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 13:12:40 +0000 (0:00:00.091) 0:01:37.210 ********* 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 13:12:40 +0000 (0:00:00.036) 0:01:37.246 ********* 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 13:12:41 +0000 (0:00:00.534) 0:01:37.781 ********* 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 13:12:41 +0000 (0:00:00.064) 0:01:37.846 ********* 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 13:12:41 +0000 (0:00:00.036) 0:01:37.882 ********* 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 13:12:41 +0000 (0:00:00.034) 0:01:37.916 ********* 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 13:12:41 +0000 (0:00:00.049) 0:01:37.966 ********* 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 13:12:41 +0000 (0:00:00.023) 0:01:37.990 ********* 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 13:12:41 +0000 (0:00:00.030) 0:01:38.021 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } 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 13:12:41 +0000 (0:00:00.040) 0:01:38.062 ********* 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 13:12:41 +0000 (0:00:00.039) 0:01:38.101 ********* 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 13:12:41 +0000 (0:00:00.034) 0:01:38.136 ********* 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 13:12:41 +0000 (0:00:00.030) 0:01:38.166 ********* 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 13:12:41 +0000 (0:00:00.029) 0:01:38.196 ********* 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 13:12:41 +0000 (0:00:00.030) 0:01:38.226 ********* 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 13:12:41 +0000 (0:00:00.062) 0:01:38.289 ********* 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 13:12:41 +0000 (0:00:00.026) 0:01:38.316 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:12:43 +0000 (0:00:01.344) 0:01:39.660 ********* 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 13:12:43 +0000 (0:00:00.039) 0:01:39.699 ********* 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 13:12:43 +0000 (0:00:00.023) 0:01:39.723 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:12:43 +0000 (0:00:00.042) 0:01:39.765 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:12:43 +0000 (0:00:00.042) 0:01:39.807 ********* 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 13:12:43 +0000 (0:00:00.037) 0:01:39.844 ********* 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 13:12:43 +0000 (0:00:00.039) 0:01:39.884 ********* 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 13:12:43 +0000 (0:00:00.656) 0:01:40.541 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:12:44 +0000 (0:00:00.406) 0:01:40.948 ********* 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 13:12:44 +0000 (0:00:00.662) 0:01:41.611 ********* 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 13:12:45 +0000 (0:00:00.434) 0:01:42.045 ********* 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 13:12:45 +0000 (0:00:00.025) 0:01:42.070 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Verify the output of the duplicate volumes test] ************************* task path: /tmp/tmpw6dixrb5/tests/tests_change_fs.yml:69 Thursday 21 July 2022 13:12:46 +0000 (0:00:00.990) 0:01:43.061 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_change_fs.yml:74 Thursday 21 July 2022 13:12:46 +0000 (0:00:00.054) 0:01:43.115 ********* 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 13:12:46 +0000 (0:00:00.046) 0:01:43.161 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:12:46 +0000 (0:00:00.054) 0:01:43.216 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:12:46 +0000 (0:00:00.037) 0:01:43.253 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "kabXqQ-SVjD-bgBu-uc4y-m7Pp-TSxo-DHkSeF" }, "/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-13-10-50-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 13:12:47 +0000 (0:00:00.396) 0:01:43.650 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002513", "end": "2022-07-21 09:12:47.539903", "rc": 0, "start": "2022-07-21 09:12:47.537390" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 13:12:47 +0000 (0:00:00.377) 0:01:44.028 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002817", "end": "2022-07-21 09:12:47.921351", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:12:47.918534" } 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 13:12:47 +0000 (0:00:00.386) 0:01:44.414 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 13:12:47 +0000 (0:00:00.061) 0:01:44.475 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 13:12:47 +0000 (0:00:00.064) 0:01:44.540 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 13:12:47 +0000 (0:00:00.049) 0:01:44.589 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.096) 0:01:44.685 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.412) 0:01:45.098 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.049) 0:01:45.147 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.052) 0:01:45.199 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.051) 0:01:45.250 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.036) 0:01:45.287 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.050) 0:01:45.337 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.025) 0:01:45.362 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.046) 0:01:45.408 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.042) 0:01:45.450 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.025) 0:01:45.476 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.026) 0:01:45.502 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.025) 0:01:45.528 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.027) 0:01:45.555 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.025) 0:01:45.580 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 13:12:48 +0000 (0:00:00.026) 0:01:45.607 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.025) 0:01:45.632 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.037) 0:01:45.670 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.046) 0:01:45.716 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.043) 0:01:45.759 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.027) 0:01:45.787 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.029) 0:01:45.816 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.029) 0:01:45.845 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.044) 0:01:45.890 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.047) 0:01:45.938 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.027) 0:01:45.966 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.026) 0:01:45.992 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.026) 0:01:46.019 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.025) 0:01:46.044 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.048) 0:01:46.092 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.094) 0:01:46.187 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.030) 0:01:46.218 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.095) 0:01:46.313 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.052) 0:01:46.365 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.052) 0:01:46.418 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.040) 0:01:46.459 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.038) 0:01:46.497 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.037) 0:01:46.535 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.037) 0:01:46.573 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 13:12:49 +0000 (0:00:00.039) 0:01:46.612 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.049) 0:01:46.662 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.049) 0:01:46.711 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.026) 0:01:46.737 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.026) 0:01:46.764 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.026) 0:01:46.790 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.026) 0:01:46.816 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.024) 0:01:46.840 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.025) 0:01:46.866 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.026) 0:01:46.892 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.038) 0:01:46.930 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.038) 0:01:46.968 ********* 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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.043) 0:01:47.012 ********* 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 13:12:50 +0000 (0:00:00.047) 0:01:47.060 ********* 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 13:12:50 +0000 (0:00:00.081) 0:01:47.141 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.041) 0:01:47.183 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" } ], "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 13:12:50 +0000 (0:00:00.055) 0:01:47.238 ********* 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 13:12:50 +0000 (0:00:00.053) 0:01:47.292 ********* 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 13:12:50 +0000 (0:00:00.051) 0:01:47.343 ********* 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 13:12:50 +0000 (0:00:00.053) 0:01:47.397 ********* 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 13:12:50 +0000 (0:00:00.025) 0:01:47.423 ********* 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 13:12:50 +0000 (0:00:00.022) 0:01:47.445 ********* 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 13:12:50 +0000 (0:00:00.025) 0:01:47.471 ********* 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 13:12:50 +0000 (0:00:00.038) 0:01:47.509 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 13:12:50 +0000 (0:00:00.061) 0:01:47.570 ********* 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 13:12:51 +0000 (0:00:00.091) 0:01:47.662 ********* 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 13:12:51 +0000 (0:00:00.125) 0:01:47.787 ********* 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 13:12:51 +0000 (0:00:00.039) 0:01:47.827 ********* 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 13:12:51 +0000 (0:00:00.038) 0:01:47.865 ********* 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 13:12:51 +0000 (0:00:00.052) 0:01:47.917 ********* 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 13:12:51 +0000 (0:00:00.047) 0:01:47.965 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658409130.9741488, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658409130.9741488, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 76924, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658409130.9741488, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 13:12:51 +0000 (0:00:00.416) 0:01:48.382 ********* 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 13:12:51 +0000 (0:00:00.047) 0:01:48.430 ********* 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 13:12:51 +0000 (0:00:00.043) 0:01:48.474 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:12:51 +0000 (0:00:00.041) 0:01:48.515 ********* 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 13:12:51 +0000 (0:00:00.025) 0:01:48.541 ********* 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 13:12:51 +0000 (0:00:00.045) 0:01:48.587 ********* 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 13:12:51 +0000 (0:00:00.026) 0:01:48.613 ********* 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 13:12:53 +0000 (0:00:01.279) 0:01:49.893 ********* 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 13:12:53 +0000 (0:00:00.025) 0:01:49.919 ********* 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 13:12:53 +0000 (0:00:00.023) 0:01:49.942 ********* 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 13:12:53 +0000 (0:00:00.054) 0:01:49.997 ********* 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 13:12:53 +0000 (0:00:00.025) 0:01:50.023 ********* 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 13:12:53 +0000 (0:00:00.023) 0:01:50.046 ********* 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 13:12:53 +0000 (0:00:00.026) 0:01:50.072 ********* 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 13:12:53 +0000 (0:00:00.025) 0:01:50.098 ********* 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 13:12:53 +0000 (0:00:00.025) 0:01:50.123 ********* 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 13:12:53 +0000 (0:00:00.053) 0:01:50.177 ********* 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 13:12:53 +0000 (0:00:00.049) 0:01:50.226 ********* 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 13:12:53 +0000 (0:00:00.038) 0:01:50.265 ********* 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 13:12:53 +0000 (0:00:00.036) 0:01:50.301 ********* 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 13:12:53 +0000 (0:00:00.038) 0:01:50.339 ********* 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 13:12:53 +0000 (0:00:00.035) 0:01:50.375 ********* 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 13:12:53 +0000 (0:00:00.037) 0:01:50.412 ********* 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 13:12:53 +0000 (0:00:00.037) 0:01:50.450 ********* 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 13:12:53 +0000 (0:00:00.039) 0:01:50.489 ********* 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 13:12:53 +0000 (0:00:00.037) 0:01:50.526 ********* 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 13:12:53 +0000 (0:00:00.038) 0:01:50.565 ********* 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 13:12:53 +0000 (0:00:00.037) 0:01:50.603 ********* 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 13:12:54 +0000 (0:00:00.037) 0:01:50.641 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 13:12:54 +0000 (0:00:00.432) 0:01:51.073 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 13:12:54 +0000 (0:00:00.405) 0:01:51.479 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 13:12:54 +0000 (0:00:00.053) 0:01:51.533 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:12:54 +0000 (0:00:00.039) 0:01:51.573 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:12:54 +0000 (0:00:00.040) 0:01:51.613 ********* 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 13:12:55 +0000 (0:00:00.039) 0:01:51.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:36 Thursday 21 July 2022 13:12:55 +0000 (0:00:00.043) 0:01:51.697 ********* 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 13:12:55 +0000 (0:00:00.040) 0:01:51.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:44 Thursday 21 July 2022 13:12:55 +0000 (0:00:00.039) 0:01:51.777 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 13:12:55 +0000 (0:00:00.039) 0:01:51.816 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:12:55 +0000 (0:00:00.042) 0:01:51.859 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 13:12:55 +0000 (0:00:00.053) 0:01:51.913 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040765", "end": "2022-07-21 09:12:55.849957", "rc": 0, "start": "2022-07-21 09:12:55.809192" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 13:12:55 +0000 (0:00:00.430) 0:01:52.343 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 13:12:55 +0000 (0:00:00.052) 0:01:52.396 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 13:12:55 +0000 (0:00:00.053) 0:01:52.449 ********* 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 13:12:55 +0000 (0:00:00.038) 0:01:52.487 ********* 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 13:12:55 +0000 (0:00:00.051) 0:01:52.539 ********* 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 13:12:55 +0000 (0:00:00.044) 0:01:52.583 ********* 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 13:12:56 +0000 (0:00:00.039) 0:01:52.623 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:12:56 +0000 (0:00:00.037) 0:01:52.660 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:12:56 +0000 (0:00:00.023) 0:01:52.684 ********* 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_change_fs.yml:76 Thursday 21 July 2022 13:12:56 +0000 (0:00:00.035) 0:01:52.720 ********* 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 13:12:56 +0000 (0:00:00.059) 0:01:52.780 ********* 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 13:12:56 +0000 (0:00:00.036) 0:01:52.817 ********* 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 13:12:56 +0000 (0:00:00.583) 0:01:53.400 ********* 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 13:12:56 +0000 (0:00:00.142) 0:01:53.542 ********* 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 13:12:56 +0000 (0:00:00.036) 0:01:53.579 ********* 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 13:12:56 +0000 (0:00:00.040) 0:01:53.619 ********* 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 13:12:57 +0000 (0:00:00.052) 0:01:53.671 ********* 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 13:12:57 +0000 (0:00:00.021) 0:01:53.693 ********* 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 13:12:57 +0000 (0:00:00.028) 0:01:53.721 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "xfs", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } 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 13:12:57 +0000 (0:00:00.054) 0:01:53.775 ********* 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 13:12:57 +0000 (0:00:00.038) 0:01:53.814 ********* 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 13:12:57 +0000 (0:00:00.031) 0:01:53.845 ********* 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 13:12:57 +0000 (0:00:00.030) 0:01:53.876 ********* 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 13:12:57 +0000 (0:00:00.034) 0:01:53.910 ********* 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 13:12:57 +0000 (0:00:00.030) 0:01:53.940 ********* 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 13:12:57 +0000 (0:00:00.058) 0:01:53.999 ********* 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 13:12:57 +0000 (0:00:00.023) 0:01:54.023 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:12:58 +0000 (0:00:01.358) 0:01:55.381 ********* 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 13:12:58 +0000 (0:00:00.038) 0:01:55.420 ********* 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 13:12:58 +0000 (0:00:00.023) 0:01:55.444 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:12:58 +0000 (0:00:00.038) 0:01:55.483 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:12:58 +0000 (0:00:00.037) 0:01:55.520 ********* 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 13:12:58 +0000 (0:00:00.043) 0:01:55.564 ********* 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 13:12:58 +0000 (0:00:00.043) 0:01:55.607 ********* 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 13:12:59 +0000 (0:00:00.639) 0:01:56.246 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 13:13:00 +0000 (0:00:00.439) 0:01:56.686 ********* 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 13:13:00 +0000 (0:00:00.636) 0:01:57.323 ********* 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 13:13:01 +0000 (0:00:00.391) 0:01:57.714 ********* 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 13:13:01 +0000 (0:00:00.024) 0:01:57.738 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_change_fs.yml:89 Thursday 21 July 2022 13:13:02 +0000 (0:00:01.021) 0:01:58.759 ********* 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 13:13:02 +0000 (0:00:00.086) 0:01:58.846 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:13:02 +0000 (0:00:00.056) 0:01:58.902 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:13:02 +0000 (0:00:00.040) 0:01:58.943 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "kabXqQ-SVjD-bgBu-uc4y-m7Pp-TSxo-DHkSeF" }, "/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-13-10-50-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 13:13:02 +0000 (0:00:00.379) 0:01:59.322 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003730", "end": "2022-07-21 09:13:03.216744", "rc": 0, "start": "2022-07-21 09:13:03.213014" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 13:13:03 +0000 (0:00:00.380) 0:01:59.703 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002965", "end": "2022-07-21 09:13:03.597152", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:13:03.594187" } 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 13:13:03 +0000 (0:00:00.383) 0:02:00.087 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 13:13:03 +0000 (0:00:00.060) 0:02:00.147 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 13:13:03 +0000 (0:00:00.037) 0:02:00.185 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 13:13:03 +0000 (0:00:00.049) 0:02:00.234 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 13:13:03 +0000 (0:00:00.057) 0:02:00.292 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.401) 0:02:00.693 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.052) 0:02:00.745 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.053) 0:02:00.799 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.051) 0:02:00.851 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.038) 0:02:00.889 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.054) 0:02:00.944 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.028) 0:02:00.973 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.043) 0:02:01.016 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.043) 0:02:01.060 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.026) 0:02:01.086 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.024) 0:02:01.111 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.025) 0:02:01.136 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.025) 0:02:01.161 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.026) 0:02:01.188 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.025) 0:02:01.213 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.025) 0:02:01.239 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.122) 0:02:01.361 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.046) 0:02:01.407 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.043) 0:02:01.451 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.027) 0:02:01.478 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.027) 0:02:01.506 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.030) 0:02:01.536 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 13:13:04 +0000 (0:00:00.049) 0:02:01.586 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.045) 0:02:01.631 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.026) 0:02:01.657 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.023) 0:02:01.680 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.024) 0:02:01.705 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.026) 0:02:01.732 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.048) 0:02:01.781 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.051) 0:02:01.832 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.028) 0:02:01.860 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.042) 0:02:01.903 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.054) 0:02:01.958 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.062) 0:02:02.021 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.047) 0:02:02.069 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.037) 0:02:02.107 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.040) 0:02:02.147 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.035) 0:02:02.182 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.037) 0:02:02.219 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.050) 0:02:02.269 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.047) 0:02:02.316 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.028) 0:02:02.345 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.027) 0:02:02.372 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.025) 0:02:02.398 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.024) 0:02:02.422 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.024) 0:02:02.447 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.027) 0:02:02.475 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.028) 0:02:02.504 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 13:13:05 +0000 (0:00:00.087) 0:02:02.591 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 13:13:06 +0000 (0:00:00.119) 0:02:02.711 ********* 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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:13:06 +0000 (0:00:00.044) 0:02:02.755 ********* 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 13:13:06 +0000 (0:00:00.050) 0:02:02.805 ********* 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 13:13:06 +0000 (0:00:00.081) 0:02:02.887 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:13:06 +0000 (0:00:00.043) 0:02:02.930 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "a367efad-2e58-4d61-98c8-0375d77ebd65" } ], "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 13:13:06 +0000 (0:00:00.058) 0:02:02.989 ********* 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 13:13:06 +0000 (0:00:00.053) 0:02:03.042 ********* 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 13:13:06 +0000 (0:00:00.049) 0:02:03.092 ********* 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 13:13:06 +0000 (0:00:00.052) 0:02:03.144 ********* 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 13:13:06 +0000 (0:00:00.024) 0:02:03.169 ********* 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 13:13:06 +0000 (0:00:00.026) 0:02:03.196 ********* 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 13:13:06 +0000 (0:00:00.025) 0:02:03.221 ********* 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 13:13:06 +0000 (0:00:00.037) 0:02:03.259 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 13:13:06 +0000 (0:00:00.065) 0:02:03.324 ********* 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 13:13:06 +0000 (0:00:00.051) 0:02:03.376 ********* 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 13:13:06 +0000 (0:00:00.052) 0:02:03.428 ********* 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 13:13:06 +0000 (0:00:00.039) 0:02:03.468 ********* 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 13:13:06 +0000 (0:00:00.039) 0:02:03.507 ********* 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 13:13:06 +0000 (0:00:00.040) 0:02:03.548 ********* 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 13:13:06 +0000 (0:00:00.046) 0:02:03.595 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658409130.9741488, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658409130.9741488, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 76924, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658409130.9741488, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 13:13:07 +0000 (0:00:00.387) 0:02:03.982 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 13:13:07 +0000 (0:00:00.039) 0:02:04.022 ********* 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 13:13:07 +0000 (0:00:00.041) 0:02:04.063 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:13:07 +0000 (0:00:00.038) 0:02:04.102 ********* 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 13:13:07 +0000 (0:00:00.026) 0:02:04.128 ********* 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 13:13:07 +0000 (0:00:00.036) 0:02:04.165 ********* 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 13:13:07 +0000 (0:00:00.022) 0:02:04.188 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 13:13:08 +0000 (0:00:01.373) 0:02:05.562 ********* 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 13:13:08 +0000 (0:00:00.026) 0:02:05.589 ********* 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 13:13:08 +0000 (0:00:00.025) 0:02:05.614 ********* 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 13:13:09 +0000 (0:00:00.055) 0:02:05.670 ********* 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 13:13:09 +0000 (0:00:00.025) 0:02:05.696 ********* 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 13:13:09 +0000 (0:00:00.023) 0:02:05.719 ********* 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 13:13:09 +0000 (0:00:00.023) 0:02:05.742 ********* 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 13:13:09 +0000 (0:00:00.022) 0:02:05.765 ********* 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 13:13:09 +0000 (0:00:00.023) 0:02:05.788 ********* 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 13:13:09 +0000 (0:00:00.047) 0:02:05.836 ********* 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 13:13:09 +0000 (0:00:00.054) 0:02:05.891 ********* 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 13:13:09 +0000 (0:00:00.039) 0:02:05.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 13:13:09 +0000 (0:00:00.040) 0:02:05.970 ********* 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 13:13:09 +0000 (0:00:00.037) 0:02:06.008 ********* 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 13:13:09 +0000 (0:00:00.037) 0:02:06.045 ********* 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 13:13:09 +0000 (0:00:00.038) 0:02:06.084 ********* 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 13:13:09 +0000 (0:00:00.043) 0:02:06.127 ********* 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 13:13:09 +0000 (0:00:00.038) 0:02:06.165 ********* 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 13:13:09 +0000 (0:00:00.038) 0:02:06.203 ********* 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 13:13:09 +0000 (0:00:00.038) 0:02:06.241 ********* 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 13:13:09 +0000 (0:00:00.041) 0:02:06.283 ********* 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 13:13:09 +0000 (0:00:00.038) 0:02:06.321 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 13:13:10 +0000 (0:00:00.395) 0:02:06.717 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 13:13:10 +0000 (0:00:00.392) 0:02:07.110 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 13:13:10 +0000 (0:00:00.090) 0:02:07.200 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:13:10 +0000 (0:00:00.039) 0:02:07.240 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:13:10 +0000 (0:00:00.040) 0:02:07.280 ********* 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 13:13:10 +0000 (0:00:00.039) 0:02:07.319 ********* 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 13:13:10 +0000 (0:00:00.039) 0:02:07.358 ********* 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 13:13:10 +0000 (0:00:00.037) 0:02:07.396 ********* 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 13:13:10 +0000 (0:00:00.039) 0:02:07.435 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 13:13:10 +0000 (0:00:00.037) 0:02:07.473 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:13:10 +0000 (0:00:00.090) 0:02:07.563 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 13:13:10 +0000 (0:00:00.058) 0:02:07.622 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.036193", "end": "2022-07-21 09:13:11.550913", "rc": 0, "start": "2022-07-21 09:13:11.514720" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 13:13:11 +0000 (0:00:00.416) 0:02:08.039 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 13:13:11 +0000 (0:00:00.087) 0:02:08.127 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 13:13:11 +0000 (0:00:00.096) 0:02:08.224 ********* 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 13:13:11 +0000 (0:00:00.046) 0:02:08.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-cache.yml:32 Thursday 21 July 2022 13:13:11 +0000 (0:00:00.040) 0:02:08.311 ********* 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 13:13:11 +0000 (0:00:00.080) 0:02:08.391 ********* 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 13:13:11 +0000 (0:00:00.039) 0:02:08.431 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:13:11 +0000 (0:00:00.037) 0:02:08.469 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:13:11 +0000 (0:00:00.023) 0:02:08.493 ********* 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_change_fs.yml:91 Thursday 21 July 2022 13:13:11 +0000 (0:00:00.035) 0:02:08.529 ********* 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 13:13:11 +0000 (0:00:00.071) 0:02:08.600 ********* 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 13:13:12 +0000 (0:00:00.044) 0:02:08.645 ********* 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 13:13:12 +0000 (0:00:00.539) 0:02:09.185 ********* 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 13:13:12 +0000 (0:00:00.063) 0:02:09.248 ********* 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 13:13:12 +0000 (0:00:00.033) 0:02:09.281 ********* 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 13:13:12 +0000 (0:00:00.037) 0:02:09.319 ********* 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 13:13:12 +0000 (0:00:00.051) 0:02:09.370 ********* 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 13:13:12 +0000 (0:00:00.021) 0:02:09.392 ********* 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 13:13:12 +0000 (0:00:00.030) 0:02:09.423 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "fs_type": "xfs", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } 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 13:13:12 +0000 (0:00:00.060) 0:02:09.483 ********* 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 13:13:12 +0000 (0:00:00.038) 0:02:09.522 ********* 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 13:13:12 +0000 (0:00:00.030) 0:02:09.552 ********* 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 13:13:12 +0000 (0:00:00.027) 0:02:09.579 ********* 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 13:13:12 +0000 (0:00:00.030) 0:02:09.610 ********* 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 13:13:13 +0000 (0:00:00.030) 0:02:09.640 ********* 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 13:13:13 +0000 (0:00:00.060) 0:02:09.701 ********* 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 13:13:13 +0000 (0:00:00.023) 0:02:09.724 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 13:13:14 +0000 (0:00:01.878) 0:02:11.603 ********* 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 13:13:15 +0000 (0:00:00.039) 0:02:11.643 ********* 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 13:13:15 +0000 (0:00:00.022) 0:02:11.666 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 13:13:15 +0000 (0:00:00.041) 0:02:11.707 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 13:13:15 +0000 (0:00:00.041) 0:02:11.749 ********* 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 13:13:15 +0000 (0:00:00.040) 0:02:11.789 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 13:13:15 +0000 (0:00:00.404) 0:02:12.194 ********* 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 13:13:16 +0000 (0:00:00.642) 0:02:12.836 ********* 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 13:13:16 +0000 (0:00:00.043) 0:02:12.880 ********* 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 13:13:16 +0000 (0:00:00.615) 0:02:13.495 ********* 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 13:13:17 +0000 (0:00:00.391) 0:02:13.887 ********* 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 13:13:17 +0000 (0:00:00.025) 0:02:13.912 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_change_fs.yml:105 Thursday 21 July 2022 13:13:18 +0000 (0:00:01.168) 0:02:15.081 ********* 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 13:13:18 +0000 (0:00:00.053) 0:02:15.134 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 13:13:18 +0000 (0:00:00.088) 0:02:15.222 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 13:13:18 +0000 (0:00:00.036) 0:02:15.259 ********* 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-13-10-50-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 13:13:19 +0000 (0:00:00.417) 0:02:15.676 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002828", "end": "2022-07-21 09:13:19.556899", "rc": 0, "start": "2022-07-21 09:13:19.554071" } 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 13:13:19 +0000 (0:00:00.370) 0:02:16.047 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002827", "end": "2022-07-21 09:13:19.941532", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:13:19.938705" } 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 13:13:19 +0000 (0:00:00.384) 0:02:16.431 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 13:13:19 +0000 (0:00:00.067) 0:02:16.499 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 13:13:19 +0000 (0:00:00.036) 0:02:16.535 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 13:13:19 +0000 (0:00:00.050) 0:02:16.586 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.055) 0:02:16.642 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.032) 0:02:16.675 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.052) 0:02:16.727 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.050) 0:02:16.778 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.049) 0:02:16.827 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.039) 0:02:16.867 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.051) 0:02:16.918 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.025) 0:02:16.944 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.024) 0:02:16.968 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.044) 0:02:17.012 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.024) 0:02:17.037 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.024) 0:02:17.062 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.025) 0:02:17.088 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.024) 0:02:17.112 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.024) 0:02:17.136 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.024) 0:02:17.161 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.025) 0:02:17.187 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.035) 0:02:17.222 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.044) 0:02:17.267 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.087) 0:02:17.355 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.029) 0:02:17.385 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.027) 0:02:17.412 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.029) 0:02:17.442 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.047) 0:02:17.489 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.044) 0:02:17.534 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.023) 0:02:17.557 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.022) 0:02:17.579 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 13:13:20 +0000 (0:00:00.023) 0:02:17.603 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.027) 0:02:17.630 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.048) 0:02:17.679 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.052) 0:02:17.731 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.024) 0:02:17.756 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.023) 0:02:17.779 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.033) 0:02:17.813 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.046) 0:02:17.860 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.043) 0:02:17.903 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.024) 0:02:17.928 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.024) 0:02:17.952 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.024) 0:02:17.976 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.026) 0:02:18.002 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.026) 0:02:18.028 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.024) 0:02:18.053 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.024) 0:02:18.077 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.039) 0:02:18.116 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.039) 0:02:18.156 ********* 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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.041) 0:02:18.197 ********* 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 13:13:21 +0000 (0:00:00.055) 0:02:18.253 ********* 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 13:13:21 +0000 (0:00:00.085) 0:02:18.338 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 13:13:21 +0000 (0:00:00.043) 0:02:18.382 ********* 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 13:13:21 +0000 (0:00:00.097) 0:02:18.479 ********* 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 13:13:21 +0000 (0:00:00.024) 0:02:18.504 ********* 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 13:13:21 +0000 (0:00:00.107) 0:02:18.611 ********* 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 13:13:22 +0000 (0:00:00.040) 0:02:18.652 ********* 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 13:13:22 +0000 (0:00:00.026) 0:02:18.679 ********* 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 13:13:22 +0000 (0:00:00.027) 0:02:18.706 ********* 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 13:13:22 +0000 (0:00:00.024) 0:02:18.730 ********* 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 13:13:22 +0000 (0:00:00.036) 0:02:18.767 ********* 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 13:13:22 +0000 (0:00:00.059) 0:02:18.827 ********* 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 13:13:22 +0000 (0:00:00.025) 0:02:18.852 ********* 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 13:13:22 +0000 (0:00:00.048) 0:02:18.901 ********* 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 13:13:22 +0000 (0:00:00.034) 0:02:18.936 ********* 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 13:13:22 +0000 (0:00:00.035) 0:02:18.972 ********* 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 13:13:22 +0000 (0:00:00.037) 0:02:19.009 ********* 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 13:13:22 +0000 (0:00:00.029) 0:02:19.039 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": 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 13:13:22 +0000 (0:00:00.383) 0:02:19.422 ********* 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 13:13:22 +0000 (0:00:00.041) 0:02:19.464 ********* 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 13:13:22 +0000 (0:00:00.026) 0:02:19.490 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 13:13:22 +0000 (0:00:00.039) 0:02:19.529 ********* 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 13:13:22 +0000 (0:00:00.026) 0:02:19.556 ********* 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 13:13:22 +0000 (0:00:00.024) 0:02:19.580 ********* 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 13:13:22 +0000 (0:00:00.037) 0:02:19.618 ********* 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 13:13:24 +0000 (0:00:01.395) 0:02:21.013 ********* 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 13:13:24 +0000 (0:00:00.027) 0:02:21.040 ********* 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 13:13:24 +0000 (0:00:00.026) 0:02:21.066 ********* 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 13:13:24 +0000 (0:00:00.024) 0:02:21.091 ********* 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 13:13:24 +0000 (0:00:00.024) 0:02:21.116 ********* 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 13:13:24 +0000 (0:00:00.025) 0:02:21.141 ********* 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 13:13:24 +0000 (0:00:00.024) 0:02:21.165 ********* 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 13:13:24 +0000 (0:00:00.024) 0:02:21.189 ********* 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 13:13:24 +0000 (0:00:00.024) 0:02:21.214 ********* 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 13:13:24 +0000 (0:00:00.056) 0:02:21.270 ********* 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 13:13:24 +0000 (0:00:00.051) 0:02:21.322 ********* 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 13:13:24 +0000 (0:00:00.038) 0:02:21.361 ********* 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 13:13:24 +0000 (0:00:00.038) 0:02:21.400 ********* 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 13:13:24 +0000 (0:00:00.042) 0:02:21.443 ********* 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 13:13:24 +0000 (0:00:00.035) 0:02:21.479 ********* 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 13:13:24 +0000 (0:00:00.039) 0:02:21.519 ********* 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 13:13:24 +0000 (0:00:00.040) 0:02:21.559 ********* 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 13:13:25 +0000 (0:00:00.083) 0:02:21.643 ********* 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 13:13:25 +0000 (0:00:00.039) 0:02:21.682 ********* 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 13:13:25 +0000 (0:00:00.035) 0:02:21.718 ********* 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 13:13:25 +0000 (0:00:00.035) 0:02:21.753 ********* 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 13:13:25 +0000 (0:00:00.039) 0:02:21.792 ********* 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 13:13:25 +0000 (0:00:00.027) 0:02:21.819 ********* 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 13:13:25 +0000 (0:00:00.036) 0:02:21.856 ********* 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 13:13:25 +0000 (0:00:00.035) 0:02:21.891 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:13:25 +0000 (0:00:00.041) 0:02:21.932 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:13:25 +0000 (0:00:00.038) 0:02:21.971 ********* 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 13:13:25 +0000 (0:00:00.037) 0:02:22.009 ********* 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 13:13:25 +0000 (0:00:00.038) 0:02:22.047 ********* 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 13:13:25 +0000 (0:00:00.039) 0:02:22.087 ********* 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 13:13:25 +0000 (0:00:00.038) 0:02:22.126 ********* 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 13:13:25 +0000 (0:00:00.037) 0:02:22.163 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:13:25 +0000 (0:00:00.038) 0:02:22.202 ********* 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 13:13:25 +0000 (0:00:00.025) 0:02:22.227 ********* 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 13:13:25 +0000 (0:00:00.024) 0:02:22.251 ********* 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 13:13:25 +0000 (0:00:00.024) 0:02:22.276 ********* 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 13:13:25 +0000 (0:00:00.024) 0:02:22.301 ********* 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 13:13:25 +0000 (0:00:00.025) 0:02:22.327 ********* 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 13:13:25 +0000 (0:00:00.024) 0:02:22.351 ********* 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 13:13:25 +0000 (0:00:00.023) 0:02:22.375 ********* 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 13:13:25 +0000 (0:00:00.023) 0:02:22.398 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 13:13:25 +0000 (0:00:00.036) 0:02:22.434 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 13:13:25 +0000 (0:00:00.029) 0:02:22.463 ********* 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=489 changed=7 unreachable=0 failed=0 skipped=383 rescued=0 ignored=0 Thursday 21 July 2022 13:13:25 +0000 (0:00:00.052) 0:02:22.516 ********* =============================================================================== linux-system-roles.storage : make sure blivet is available ------------- 51.82s /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 --- 1.88s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.87s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Ensure cryptsetup is present -------------------------------------------- 1.75s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.67s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : Ensure ansible_facts used by role ---------- 1.60s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 -- Ensure cryptsetup is present -------------------------------------------- 1.40s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.39s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.37s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.37s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.36s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.34s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 set up internal repositories -------------------------------------------- 1.32s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.storage : make sure required packages are installed --- 1.32s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 1.28s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : Update facts ------------------------------- 1.17s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 1.14s /tmp/tmpw6dixrb5/tests/tests_change_fs.yml:2 ---------------------------------- Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmpw6dixrb5/tests/tests_change_fs_scsi_generated.yml:3 ------------------- linux-system-roles.storage : Update facts ------------------------------- 1.02s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.99s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/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 18:26:50 +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 18:26:51 +0000 (0:00:01.399) 0:00:01.417 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.40s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_change_fs_scsi_generated.yml *********************************** 2 plays in /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs_scsi_generated.yml:3 Thursday 21 July 2022 18:26:51 +0000 (0:00:00.015) 0:00:01.432 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs_scsi_generated.yml:7 Thursday 21 July 2022 18:26:52 +0000 (0:00:01.203) 0:00:02.635 ********* 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_change_fs.yml:2 Thursday 21 July 2022 18:26:53 +0000 (0:00:00.049) 0:00:02.684 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs.yml:13 Thursday 21 July 2022 18:26:54 +0000 (0:00:01.739) 0:00:04.424 ********* 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 18:26:54 +0000 (0:00:00.037) 0:00:04.462 ********* 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 18:26:54 +0000 (0:00:00.030) 0:00:04.492 ********* 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 18:26:55 +0000 (0:00:01.171) 0:00:05.664 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/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 18:26:56 +0000 (0:00:00.058) 0:00:05.722 ********* 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 18:26:56 +0000 (0:00:00.034) 0:00:05.757 ********* 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 18:26:56 +0000 (0:00:00.032) 0:00:05.789 ********* 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 18:26:56 +0000 (0:00:00.056) 0:00:05.846 ********* 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 18:26:56 +0000 (0:00:00.019) 0:00:05.866 ********* 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 18:27:46 +0000 (0:00:50.742) 0:00:56.609 ********* 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 18:27:46 +0000 (0:00:00.038) 0:00:56.647 ********* 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 18:27:47 +0000 (0:00:00.038) 0:00:56.686 ********* 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 18:27:47 +0000 (0:00:00.715) 0:00:57.402 ********* 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 18:27:47 +0000 (0:00:00.044) 0:00:57.447 ********* 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 18:27:47 +0000 (0:00:00.033) 0:00:57.480 ********* 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 18:27:47 +0000 (0:00:00.036) 0:00:57.517 ********* 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 18:27:47 +0000 (0:00:00.033) 0:00:57.550 ********* 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 18:27:49 +0000 (0:00:01.255) 0:00:58.806 ********* 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-rc969b425e0dc4d14976afb4c2fcbc692.service": { "name": "run-rc969b425e0dc4d14976afb4c2fcbc692.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 18:27:50 +0000 (0:00:01.780) 0:01:00.586 ********* 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 18:27:50 +0000 (0:00:00.085) 0:01:00.672 ********* 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 18:27:51 +0000 (0:00:00.022) 0:01:00.694 ********* 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 18:27:51 +0000 (0:00:00.564) 0:01:01.259 ********* 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 18:27:51 +0000 (0:00:00.040) 0:01:01.299 ********* 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 18:27:51 +0000 (0:00:00.027) 0:01:01.327 ********* 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 18:27:51 +0000 (0:00:00.095) 0:01:01.422 ********* 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 18:27:51 +0000 (0:00:00.035) 0:01:01.458 ********* 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 18:27:51 +0000 (0:00:00.037) 0:01:01.495 ********* 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 18:27:51 +0000 (0:00:00.033) 0:01:01.529 ********* 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 18:27:51 +0000 (0:00:00.023) 0:01:01.552 ********* 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 18:27:51 +0000 (0:00:00.034) 0:01:01.586 ********* 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 18:27:51 +0000 (0:00:00.022) 0:01:01.609 ********* 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 18:27:52 +0000 (0:00:00.462) 0:01:02.071 ********* 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 18:27:52 +0000 (0:00:00.022) 0:01:02.094 ********* 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_change_fs.yml:16 Thursday 21 July 2022 18:27:53 +0000 (0:00:00.965) 0:01:03.060 ********* 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_change_fs.yml:23 Thursday 21 July 2022 18:27:53 +0000 (0:00:00.031) 0:01:03.091 ********* 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 18:27:53 +0000 (0:00:00.035) 0:01:03.126 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 18:27:53 +0000 (0:00:00.519) 0:01:03.645 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "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 18:27:54 +0000 (0:00:00.036) 0:01:03.681 ********* 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 18:27:54 +0000 (0:00:00.040) 0:01:03.721 ********* ok: [/cache/rhel-8.qcow2] => { "unused_disks": [ "sda" ] } TASK [Create a LVM logical volume with default fs_type] ************************ task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs.yml:28 Thursday 21 July 2022 18:27:54 +0000 (0:00:00.034) 0:01:03.756 ********* 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 18:27:54 +0000 (0:00:00.045) 0:01:03.801 ********* 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 18:27:54 +0000 (0:00:00.034) 0:01:03.835 ********* 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 18:27:54 +0000 (0:00:00.541) 0:01:04.377 ********* 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 18:27:54 +0000 (0:00:00.091) 0:01:04.468 ********* 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 18:27:54 +0000 (0:00:00.087) 0:01:04.556 ********* 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 18:27:54 +0000 (0:00:00.036) 0:01:04.592 ********* 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 18:27:54 +0000 (0:00:00.057) 0:01:04.649 ********* 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 18:27:54 +0000 (0:00:00.021) 0:01:04.671 ********* 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 18:27:55 +0000 (0:00:00.028) 0:01:04.700 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } 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 18:27:55 +0000 (0:00:00.039) 0:01:04.740 ********* 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 18:27:55 +0000 (0:00:00.037) 0:01:04.778 ********* 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 18:27:55 +0000 (0:00:00.027) 0:01:04.805 ********* 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 18:27:55 +0000 (0:00:00.027) 0:01:04.833 ********* 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 18:27:55 +0000 (0:00:00.028) 0:01:04.861 ********* 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 18:27:55 +0000 (0:00:00.028) 0:01:04.890 ********* 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 18:27:55 +0000 (0:00:00.055) 0:01:04.946 ********* 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 18:27:55 +0000 (0:00:00.022) 0:01:04.969 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:27:56 +0000 (0:00:01.645) 0:01:06.614 ********* 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 18:27:56 +0000 (0:00:00.042) 0:01:06.656 ********* 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 18:27:57 +0000 (0:00:00.022) 0:01:06.679 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:27:57 +0000 (0:00:00.040) 0:01:06.719 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:27:57 +0000 (0:00:00.039) 0:01:06.758 ********* 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 18:27:57 +0000 (0:00:00.038) 0:01:06.797 ********* 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 18:27:57 +0000 (0:00:00.038) 0:01:06.835 ********* 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 18:27:58 +0000 (0:00:00.865) 0:01:07.700 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:27:58 +0000 (0:00:00.543) 0:01:08.244 ********* 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 18:27:59 +0000 (0:00:00.645) 0:01:08.889 ********* 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 18:27:59 +0000 (0:00:00.353) 0:01:09.243 ********* 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 18:27:59 +0000 (0:00:00.024) 0:01:09.267 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs.yml:40 Thursday 21 July 2022 18:28:00 +0000 (0:00:01.012) 0:01:10.280 ********* 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 18:28:00 +0000 (0:00:00.039) 0:01:10.320 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:28:00 +0000 (0:00:00.048) 0:01:10.368 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:28:00 +0000 (0:00:00.037) 0:01:10.405 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "iJUe8L-Ua4w-TxoY-vUg4-2iG0-b6N6-XMHuVM" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-18-26-37-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 18:28:01 +0000 (0:00:00.479) 0:01:10.885 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003427", "end": "2022-07-21 14:28:01.084826", "rc": 0, "start": "2022-07-21 14:28:01.081399" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 18:28:01 +0000 (0:00:00.473) 0:01:11.359 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002721", "end": "2022-07-21 14:28:01.467590", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:28:01.464869" } 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 18:28:02 +0000 (0:00:00.374) 0:01:11.733 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 18:28:02 +0000 (0:00:00.062) 0:01:11.795 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 18:28:02 +0000 (0:00:00.034) 0:01:11.830 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 18:28:02 +0000 (0:00:00.049) 0:01:11.880 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 18:28:02 +0000 (0:00:00.054) 0:01:11.934 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 18:28:02 +0000 (0:00:00.509) 0:01:12.444 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 18:28:02 +0000 (0:00:00.048) 0:01:12.492 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 18:28:02 +0000 (0:00:00.051) 0:01:12.544 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 18:28:02 +0000 (0:00:00.077) 0:01:12.622 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 18:28:02 +0000 (0:00:00.038) 0:01:12.660 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.049) 0:01:12.710 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.025) 0:01:12.735 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.070) 0:01:12.806 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.043) 0:01:12.849 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.024) 0:01:12.873 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.024) 0:01:12.898 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.047) 0:01:12.946 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.029) 0:01:12.975 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.027) 0:01:13.003 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.025) 0:01:13.029 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.026) 0:01:13.055 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.033) 0:01:13.089 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.045) 0:01:13.134 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.047) 0:01:13.182 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.030) 0:01:13.212 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.030) 0:01:13.243 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.028) 0:01:13.272 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.047) 0:01:13.319 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.046) 0:01:13.365 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.025) 0:01:13.390 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.025) 0:01:13.416 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.026) 0:01:13.442 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.023) 0:01:13.466 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.048) 0:01:13.515 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.050) 0:01:13.565 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.028) 0:01:13.593 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 18:28:03 +0000 (0:00:00.044) 0:01:13.638 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.050) 0:01:13.688 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.051) 0:01:13.740 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.036) 0:01:13.776 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.036) 0:01:13.812 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.033) 0:01:13.846 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.037) 0:01:13.883 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.034) 0:01:13.918 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.050) 0:01:13.968 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.045) 0:01:14.013 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.025) 0:01:14.039 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.024) 0:01:14.064 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.024) 0:01:14.088 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.057) 0:01:14.145 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.024) 0:01:14.170 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.025) 0:01:14.196 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.024) 0:01:14.220 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.038) 0:01:14.258 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.033) 0:01:14.292 ********* 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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.044) 0:01:14.336 ********* 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 18:28:04 +0000 (0:00:00.052) 0:01:14.389 ********* 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 18:28:04 +0000 (0:00:00.087) 0:01:14.476 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:28:04 +0000 (0:00:00.041) 0:01:14.517 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" } ], "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 18:28:04 +0000 (0:00:00.057) 0:01:14.575 ********* 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 18:28:04 +0000 (0:00:00.052) 0:01:14.627 ********* 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 18:28:04 +0000 (0:00:00.050) 0:01:14.678 ********* 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 18:28:05 +0000 (0:00:00.052) 0:01:14.730 ********* 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 18:28:05 +0000 (0:00:00.024) 0:01:14.755 ********* 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 18:28:05 +0000 (0:00:00.024) 0:01:14.780 ********* 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 18:28:05 +0000 (0:00:00.023) 0:01:14.804 ********* 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 18:28:05 +0000 (0:00:00.036) 0:01:14.841 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:28:05 +0000 (0:00:00.059) 0:01:14.900 ********* 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 18:28:05 +0000 (0:00:00.052) 0:01:14.953 ********* 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 18:28:05 +0000 (0:00:00.052) 0:01:15.005 ********* 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 18:28:05 +0000 (0:00:00.036) 0:01:15.041 ********* 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 18:28:05 +0000 (0:00:00.035) 0:01:15.077 ********* 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 18:28:05 +0000 (0:00:00.039) 0:01:15.116 ********* 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 18:28:05 +0000 (0:00:00.041) 0:01:15.158 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658428076.2975302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658428076.2975302, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 75207, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658428076.2975302, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:28:05 +0000 (0:00:00.385) 0:01:15.543 ********* 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 18:28:05 +0000 (0:00:00.040) 0:01:15.583 ********* 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 18:28:05 +0000 (0:00:00.040) 0:01:15.623 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:28:05 +0000 (0:00:00.039) 0:01:15.663 ********* 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 18:28:06 +0000 (0:00:00.023) 0:01:15.686 ********* 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 18:28:06 +0000 (0:00:00.068) 0:01:15.755 ********* 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 18:28:06 +0000 (0:00:00.023) 0:01:15.778 ********* 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 18:28:07 +0000 (0:00:01.854) 0:01:17.633 ********* 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 18:28:07 +0000 (0:00:00.026) 0:01:17.659 ********* 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 18:28:08 +0000 (0:00:00.024) 0:01:17.684 ********* 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 18:28:08 +0000 (0:00:00.053) 0:01:17.738 ********* 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 18:28:08 +0000 (0:00:00.025) 0:01:17.763 ********* 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 18:28:08 +0000 (0:00:00.024) 0:01:17.788 ********* 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 18:28:08 +0000 (0:00:00.024) 0:01:17.813 ********* 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 18:28:08 +0000 (0:00:00.024) 0:01:17.837 ********* 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 18:28:08 +0000 (0:00:00.023) 0:01:17.861 ********* 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 18:28:08 +0000 (0:00:00.052) 0:01:17.914 ********* 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 18:28:08 +0000 (0:00:00.047) 0:01:17.961 ********* 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 18:28:08 +0000 (0:00:00.036) 0:01:17.998 ********* 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 18:28:08 +0000 (0:00:00.037) 0:01:18.035 ********* 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 18:28:08 +0000 (0:00:00.037) 0:01:18.072 ********* 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 18:28:08 +0000 (0:00:00.036) 0:01:18.109 ********* 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 18:28:08 +0000 (0:00:00.043) 0:01:18.152 ********* 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 18:28:08 +0000 (0:00:00.037) 0:01:18.189 ********* 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 18:28:08 +0000 (0:00:00.038) 0:01:18.228 ********* 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 18:28:08 +0000 (0:00:00.037) 0:01:18.265 ********* 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 18:28:08 +0000 (0:00:00.038) 0:01:18.304 ********* 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 18:28:08 +0000 (0:00:00.037) 0:01:18.341 ********* 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 18:28:08 +0000 (0:00:00.038) 0:01:18.380 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:28:09 +0000 (0:00:00.493) 0:01:18.874 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:28:09 +0000 (0:00:00.442) 0:01:19.316 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:28:09 +0000 (0:00:00.051) 0:01:19.367 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:28:09 +0000 (0:00:00.036) 0:01:19.404 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:28:09 +0000 (0:00:00.037) 0:01:19.441 ********* 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 18:28:09 +0000 (0:00:00.037) 0:01:19.478 ********* 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 18:28:09 +0000 (0:00:00.068) 0:01:19.547 ********* 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 18:28:09 +0000 (0:00:00.036) 0:01:19.584 ********* 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 18:28:09 +0000 (0:00:00.042) 0:01:19.627 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:28:10 +0000 (0:00:00.096) 0:01:19.723 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:28:10 +0000 (0:00:00.037) 0:01:19.760 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:28:10 +0000 (0:00:00.053) 0:01:19.814 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.038818", "end": "2022-07-21 14:28:09.986271", "rc": 0, "start": "2022-07-21 14:28:09.947453" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:28:10 +0000 (0:00:00.441) 0:01:20.255 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:28:10 +0000 (0:00:00.051) 0:01:20.307 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:28:10 +0000 (0:00:00.054) 0:01:20.361 ********* 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 18:28:10 +0000 (0:00:00.042) 0:01:20.404 ********* 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 18:28:10 +0000 (0:00:00.037) 0:01:20.442 ********* 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 18:28:10 +0000 (0:00:00.038) 0:01:20.481 ********* 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 18:28:10 +0000 (0:00:00.038) 0:01:20.519 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:28:10 +0000 (0:00:00.035) 0:01:20.555 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:28:10 +0000 (0:00:00.022) 0:01:20.577 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the file system signature on the logical volume created above] **** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs.yml:42 Thursday 21 July 2022 18:28:10 +0000 (0:00:00.035) 0:01:20.612 ********* 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 18:28:10 +0000 (0:00:00.050) 0:01:20.662 ********* 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 18:28:11 +0000 (0:00:00.034) 0:01:20.697 ********* 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 18:28:11 +0000 (0:00:00.532) 0:01:21.229 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/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 18:28:11 +0000 (0:00:00.067) 0:01:21.297 ********* 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 18:28:11 +0000 (0:00:00.037) 0:01:21.335 ********* 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 18:28:11 +0000 (0:00:00.036) 0:01:21.371 ********* 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 18:28:11 +0000 (0:00:00.058) 0:01:21.430 ********* 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 18:28:11 +0000 (0:00:00.022) 0:01:21.453 ********* 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 18:28:11 +0000 (0:00:00.029) 0:01:21.482 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "xfs", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } 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 18:28:11 +0000 (0:00:00.055) 0:01:21.537 ********* 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 18:28:11 +0000 (0:00:00.037) 0:01:21.575 ********* 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 18:28:11 +0000 (0:00:00.030) 0:01:21.605 ********* 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 18:28:11 +0000 (0:00:00.034) 0:01:21.640 ********* 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 18:28:11 +0000 (0:00:00.031) 0:01:21.671 ********* 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 18:28:12 +0000 (0:00:00.029) 0:01:21.701 ********* 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 18:28:12 +0000 (0:00:00.092) 0:01:21.794 ********* 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 18:28:12 +0000 (0:00:00.023) 0:01:21.818 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:28:13 +0000 (0:00:01.371) 0:01:23.189 ********* 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 18:28:13 +0000 (0:00:00.038) 0:01:23.227 ********* 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 18:28:13 +0000 (0:00:00.023) 0:01:23.251 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:28:13 +0000 (0:00:00.039) 0:01:23.291 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:28:13 +0000 (0:00:00.040) 0:01:23.331 ********* 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 18:28:13 +0000 (0:00:00.039) 0:01:23.371 ********* 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 18:28:13 +0000 (0:00:00.041) 0:01:23.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 18:28:14 +0000 (0:00:00.598) 0:01:24.011 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:28:14 +0000 (0:00:00.420) 0:01:24.431 ********* 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 18:28:15 +0000 (0:00:00.599) 0:01:25.031 ********* 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 18:28:15 +0000 (0:00:00.363) 0:01:25.394 ********* 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 18:28:15 +0000 (0:00:00.025) 0:01:25.419 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs.yml:55 Thursday 21 July 2022 18:28:16 +0000 (0:00:00.960) 0:01:26.380 ********* 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 18:28:16 +0000 (0:00:00.044) 0:01:26.424 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:28:16 +0000 (0:00:00.094) 0:01:26.519 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:28:16 +0000 (0:00:00.078) 0:01:26.597 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "iJUe8L-Ua4w-TxoY-vUg4-2iG0-b6N6-XMHuVM" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-18-26-37-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 18:28:17 +0000 (0:00:00.376) 0:01:26.974 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002339", "end": "2022-07-21 14:28:17.074151", "rc": 0, "start": "2022-07-21 14:28:17.071812" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 18:28:17 +0000 (0:00:00.362) 0:01:27.337 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002390", "end": "2022-07-21 14:28:17.431203", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:28:17.428813" } 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 18:28:18 +0000 (0:00:00.355) 0:01:27.693 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.059) 0:01:27.753 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.035) 0:01:27.788 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.046) 0:01:27.834 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.057) 0:01:27.891 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.360) 0:01:28.252 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.051) 0:01:28.303 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.051) 0:01:28.354 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.049) 0:01:28.404 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.038) 0:01:28.442 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.049) 0:01:28.492 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.022) 0:01:28.514 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.039) 0:01:28.553 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.041) 0:01:28.595 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.023) 0:01:28.618 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.023) 0:01:28.642 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 18:28:18 +0000 (0:00:00.022) 0:01:28.664 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.022) 0:01:28.687 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.022) 0:01:28.710 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.021) 0:01:28.732 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.021) 0:01:28.753 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.062) 0:01:28.816 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.042) 0:01:28.858 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.070) 0:01:28.928 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.029) 0:01:28.958 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.027) 0:01:28.986 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.026) 0:01:29.012 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.047) 0:01:29.059 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.047) 0:01:29.107 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.023) 0:01:29.130 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.021) 0:01:29.151 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.021) 0:01:29.173 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.022) 0:01:29.195 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.045) 0:01:29.241 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.047) 0:01:29.288 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.027) 0:01:29.316 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.040) 0:01:29.356 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.047) 0:01:29.404 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.049) 0:01:29.453 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.035) 0:01:29.489 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.036) 0:01:29.526 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.038) 0:01:29.565 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.031) 0:01:29.596 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 18:28:19 +0000 (0:00:00.035) 0:01:29.632 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.047) 0:01:29.680 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.044) 0:01:29.724 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.024) 0:01:29.749 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.025) 0:01:29.774 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.024) 0:01:29.798 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.023) 0:01:29.822 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.021) 0:01:29.843 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.023) 0:01:29.867 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.023) 0:01:29.891 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.036) 0:01:29.927 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.036) 0:01:29.964 ********* 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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.042) 0:01:30.006 ********* 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 18:28:20 +0000 (0:00:00.085) 0:01:30.092 ********* 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 18:28:20 +0000 (0:00:00.117) 0:01:30.210 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.042) 0:01:30.252 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" } ], "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 18:28:20 +0000 (0:00:00.056) 0:01:30.309 ********* 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 18:28:20 +0000 (0:00:00.051) 0:01:30.361 ********* 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 18:28:20 +0000 (0:00:00.052) 0:01:30.413 ********* 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 18:28:20 +0000 (0:00:00.051) 0:01:30.465 ********* 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 18:28:20 +0000 (0:00:00.023) 0:01:30.488 ********* 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 18:28:20 +0000 (0:00:00.023) 0:01:30.512 ********* 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 18:28:20 +0000 (0:00:00.026) 0:01:30.538 ********* 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 18:28:20 +0000 (0:00:00.034) 0:01:30.573 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:28:20 +0000 (0:00:00.062) 0:01:30.636 ********* 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 18:28:21 +0000 (0:00:00.053) 0:01:30.689 ********* 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 18:28:21 +0000 (0:00:00.051) 0:01:30.740 ********* 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 18:28:21 +0000 (0:00:00.034) 0:01:30.775 ********* 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 18:28:21 +0000 (0:00:00.033) 0:01:30.808 ********* 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 18:28:21 +0000 (0:00:00.034) 0:01:30.843 ********* 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 18:28:21 +0000 (0:00:00.036) 0:01:30.879 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658428076.2975302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658428076.2975302, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 75207, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658428076.2975302, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:28:21 +0000 (0:00:00.380) 0:01:31.260 ********* 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 18:28:21 +0000 (0:00:00.043) 0:01:31.304 ********* 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 18:28:21 +0000 (0:00:00.042) 0:01:31.347 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:28:21 +0000 (0:00:00.038) 0:01:31.385 ********* 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 18:28:21 +0000 (0:00:00.025) 0:01:31.410 ********* 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 18:28:21 +0000 (0:00:00.044) 0:01:31.454 ********* 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 18:28:21 +0000 (0:00:00.023) 0:01:31.478 ********* 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 18:28:23 +0000 (0:00:01.345) 0:01:32.823 ********* 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 18:28:23 +0000 (0:00:00.025) 0:01:32.849 ********* 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 18:28:23 +0000 (0:00:00.024) 0:01:32.873 ********* 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 18:28:23 +0000 (0:00:00.090) 0:01:32.964 ********* 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 18:28:23 +0000 (0:00:00.060) 0:01:33.024 ********* 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 18:28:23 +0000 (0:00:00.025) 0:01:33.050 ********* 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 18:28:23 +0000 (0:00:00.030) 0:01:33.081 ********* 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 18:28:23 +0000 (0:00:00.024) 0:01:33.105 ********* 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 18:28:23 +0000 (0:00:00.026) 0:01:33.132 ********* 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 18:28:23 +0000 (0:00:00.052) 0:01:33.184 ********* 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 18:28:23 +0000 (0:00:00.046) 0:01:33.230 ********* 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 18:28:23 +0000 (0:00:00.039) 0:01:33.270 ********* 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 18:28:23 +0000 (0:00:00.040) 0:01:33.311 ********* 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 18:28:23 +0000 (0:00:00.036) 0:01:33.347 ********* 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 18:28:23 +0000 (0:00:00.035) 0:01:33.383 ********* 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 18:28:23 +0000 (0:00:00.036) 0:01:33.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:17 Thursday 21 July 2022 18:28:23 +0000 (0:00:00.040) 0:01:33.459 ********* 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 18:28:23 +0000 (0:00:00.037) 0:01:33.496 ********* 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 18:28:23 +0000 (0:00:00.036) 0:01:33.533 ********* 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 18:28:23 +0000 (0:00:00.037) 0:01:33.570 ********* 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 18:28:23 +0000 (0:00:00.038) 0:01:33.609 ********* 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 18:28:23 +0000 (0:00:00.038) 0:01:33.647 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:28:24 +0000 (0:00:00.374) 0:01:34.022 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:28:24 +0000 (0:00:00.376) 0:01:34.398 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:28:24 +0000 (0:00:00.048) 0:01:34.447 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:28:24 +0000 (0:00:00.033) 0:01:34.481 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:28:24 +0000 (0:00:00.033) 0:01:34.515 ********* 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 18:28:24 +0000 (0:00:00.039) 0:01:34.554 ********* 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 18:28:24 +0000 (0:00:00.038) 0:01:34.592 ********* 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 18:28:24 +0000 (0:00:00.038) 0:01:34.631 ********* 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 18:28:24 +0000 (0:00:00.038) 0:01:34.670 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:28:25 +0000 (0:00:00.042) 0:01:34.713 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:28:25 +0000 (0:00:00.038) 0:01:34.751 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:28:25 +0000 (0:00:00.058) 0:01:34.810 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.032490", "end": "2022-07-21 14:28:24.962417", "rc": 0, "start": "2022-07-21 14:28:24.929927" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:28:25 +0000 (0:00:00.416) 0:01:35.227 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:28:25 +0000 (0:00:00.090) 0:01:35.317 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:28:25 +0000 (0:00:00.060) 0:01:35.377 ********* 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 18:28:25 +0000 (0:00:00.049) 0:01:35.427 ********* 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 18:28:25 +0000 (0:00:00.038) 0:01:35.465 ********* 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 18:28:25 +0000 (0:00:00.039) 0:01:35.505 ********* 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 18:28:25 +0000 (0:00:00.041) 0:01:35.546 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:28:25 +0000 (0:00:00.036) 0:01:35.583 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:28:25 +0000 (0:00:00.023) 0:01:35.606 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Re-run the role on the same volume without specifying fs_type] *********** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs.yml:57 Thursday 21 July 2022 18:28:25 +0000 (0:00:00.069) 0:01:35.675 ********* 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 18:28:26 +0000 (0:00:00.087) 0:01:35.762 ********* 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 18:28:26 +0000 (0:00:00.039) 0:01:35.802 ********* 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 18:28:26 +0000 (0:00:00.501) 0:01:36.303 ********* 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 18:28:26 +0000 (0:00:00.064) 0:01:36.368 ********* 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 18:28:26 +0000 (0:00:00.036) 0:01:36.404 ********* 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 18:28:26 +0000 (0:00:00.036) 0:01:36.441 ********* 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 18:28:26 +0000 (0:00:00.058) 0:01:36.499 ********* 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 18:28:26 +0000 (0:00:00.023) 0:01:36.523 ********* 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 18:28:26 +0000 (0:00:00.029) 0:01:36.552 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } 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 18:28:26 +0000 (0:00:00.044) 0:01:36.596 ********* 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 18:28:26 +0000 (0:00:00.041) 0:01:36.638 ********* 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 18:28:26 +0000 (0:00:00.032) 0:01:36.670 ********* 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 18:28:27 +0000 (0:00:00.030) 0:01:36.700 ********* 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 18:28:27 +0000 (0:00:00.029) 0:01:36.730 ********* 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 18:28:27 +0000 (0:00:00.026) 0:01:36.756 ********* 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 18:28:27 +0000 (0:00:00.056) 0:01:36.813 ********* 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 18:28:27 +0000 (0:00:00.020) 0:01:36.834 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:28:28 +0000 (0:00:01.356) 0:01:38.190 ********* 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 18:28:28 +0000 (0:00:00.039) 0:01:38.230 ********* 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 18:28:28 +0000 (0:00:00.024) 0:01:38.254 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:28:28 +0000 (0:00:00.039) 0:01:38.294 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:28:28 +0000 (0:00:00.073) 0:01:38.368 ********* 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 18:28:28 +0000 (0:00:00.118) 0:01:38.486 ********* 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 18:28:28 +0000 (0:00:00.040) 0:01:38.526 ********* 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 18:28:29 +0000 (0:00:00.630) 0:01:39.157 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:28:29 +0000 (0:00:00.429) 0:01:39.586 ********* 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 18:28:30 +0000 (0:00:00.624) 0:01:40.210 ********* 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 18:28:30 +0000 (0:00:00.367) 0:01:40.578 ********* 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 18:28:30 +0000 (0:00:00.024) 0:01:40.602 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Verify the output of the duplicate volumes test] ************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs.yml:69 Thursday 21 July 2022 18:28:31 +0000 (0:00:00.995) 0:01:41.598 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs.yml:74 Thursday 21 July 2022 18:28:31 +0000 (0:00:00.056) 0:01:41.654 ********* 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 18:28:32 +0000 (0:00:00.047) 0:01:41.702 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:28:32 +0000 (0:00:00.052) 0:01:41.755 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:28:32 +0000 (0:00:00.042) 0:01:41.797 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "iJUe8L-Ua4w-TxoY-vUg4-2iG0-b6N6-XMHuVM" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-18-26-37-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 18:28:32 +0000 (0:00:00.378) 0:01:42.176 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002618", "end": "2022-07-21 14:28:32.321541", "rc": 0, "start": "2022-07-21 14:28:32.318923" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 18:28:32 +0000 (0:00:00.409) 0:01:42.585 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.003805", "end": "2022-07-21 14:28:33.691612", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:28:32.687807" } 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 18:28:34 +0000 (0:00:01.372) 0:01:43.958 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 18:28:34 +0000 (0:00:00.095) 0:01:44.054 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 18:28:34 +0000 (0:00:00.035) 0:01:44.089 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 18:28:34 +0000 (0:00:00.047) 0:01:44.137 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 18:28:34 +0000 (0:00:00.054) 0:01:44.192 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 18:28:34 +0000 (0:00:00.392) 0:01:44.584 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 18:28:34 +0000 (0:00:00.051) 0:01:44.636 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.056) 0:01:44.692 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.052) 0:01:44.745 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.042) 0:01:44.788 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.050) 0:01:44.838 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.023) 0:01:44.862 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.046) 0:01:44.908 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.042) 0:01:44.951 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.023) 0:01:44.974 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.026) 0:01:45.000 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.030) 0:01:45.032 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.029) 0:01:45.061 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.024) 0:01:45.085 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.024) 0:01:45.109 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.025) 0:01:45.134 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.034) 0:01:45.169 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.044) 0:01:45.214 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.046) 0:01:45.260 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.030) 0:01:45.291 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.031) 0:01:45.322 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.029) 0:01:45.352 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.049) 0:01:45.401 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.046) 0:01:45.448 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.025) 0:01:45.473 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.024) 0:01:45.498 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.066) 0:01:45.565 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.025) 0:01:45.590 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 18:28:35 +0000 (0:00:00.046) 0:01:45.636 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.052) 0:01:45.689 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.028) 0:01:45.717 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.043) 0:01:45.761 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.051) 0:01:45.812 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.051) 0:01:45.863 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.038) 0:01:45.902 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.039) 0:01:45.942 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.034) 0:01:45.976 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.036) 0:01:46.013 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.037) 0:01:46.050 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.049) 0:01:46.099 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.045) 0:01:46.144 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.025) 0:01:46.170 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.025) 0:01:46.195 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.024) 0:01:46.220 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.024) 0:01:46.245 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.026) 0:01:46.271 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.026) 0:01:46.298 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.023) 0:01:46.321 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.039) 0:01:46.360 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.039) 0:01:46.400 ********* 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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.042) 0:01:46.442 ********* 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 18:28:36 +0000 (0:00:00.054) 0:01:46.496 ********* 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 18:28:36 +0000 (0:00:00.082) 0:01:46.579 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:28:36 +0000 (0:00:00.041) 0:01:46.621 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" } ], "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 18:28:37 +0000 (0:00:00.058) 0:01:46.680 ********* 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 18:28:37 +0000 (0:00:00.053) 0:01:46.734 ********* 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 18:28:37 +0000 (0:00:00.049) 0:01:46.783 ********* 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 18:28:37 +0000 (0:00:00.097) 0:01:46.881 ********* 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 18:28:37 +0000 (0:00:00.025) 0:01:46.907 ********* 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 18:28:37 +0000 (0:00:00.055) 0:01:46.962 ********* 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 18:28:37 +0000 (0:00:00.023) 0:01:46.986 ********* 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 18:28:37 +0000 (0:00:00.036) 0:01:47.022 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:28:37 +0000 (0:00:00.063) 0:01:47.086 ********* 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 18:28:37 +0000 (0:00:00.049) 0:01:47.135 ********* 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 18:28:37 +0000 (0:00:00.052) 0:01:47.188 ********* 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 18:28:37 +0000 (0:00:00.037) 0:01:47.225 ********* 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 18:28:37 +0000 (0:00:00.036) 0:01:47.261 ********* 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 18:28:37 +0000 (0:00:00.036) 0:01:47.298 ********* 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 18:28:37 +0000 (0:00:00.039) 0:01:47.337 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658428076.2975302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658428076.2975302, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 75207, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658428076.2975302, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:28:38 +0000 (0:00:00.395) 0:01:47.733 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 18:28:38 +0000 (0:00:00.039) 0:01:47.773 ********* 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 18:28:38 +0000 (0:00:00.040) 0:01:47.813 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:28:38 +0000 (0:00:00.038) 0:01:47.852 ********* 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 18:28:38 +0000 (0:00:00.027) 0:01:47.879 ********* 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 18:28:38 +0000 (0:00:00.038) 0:01:47.918 ********* 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 18:28:38 +0000 (0:00:00.024) 0:01:47.942 ********* 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 18:28:39 +0000 (0:00:01.313) 0:01:49.256 ********* 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 18:28:39 +0000 (0:00:00.027) 0:01:49.283 ********* 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 18:28:39 +0000 (0:00:00.026) 0:01:49.310 ********* 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 18:28:39 +0000 (0:00:00.059) 0:01:49.370 ********* 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 18:28:39 +0000 (0:00:00.027) 0:01:49.398 ********* 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 18:28:39 +0000 (0:00:00.025) 0:01:49.423 ********* 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 18:28:39 +0000 (0:00:00.024) 0:01:49.448 ********* 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 18:28:39 +0000 (0:00:00.025) 0:01:49.474 ********* 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 18:28:39 +0000 (0:00:00.026) 0:01:49.500 ********* 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 18:28:39 +0000 (0:00:00.055) 0:01:49.555 ********* 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 18:28:39 +0000 (0:00:00.082) 0:01:49.637 ********* 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 18:28:40 +0000 (0:00:00.042) 0:01:49.680 ********* 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 18:28:40 +0000 (0:00:00.038) 0:01:49.718 ********* 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 18:28:40 +0000 (0:00:00.037) 0:01:49.755 ********* 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 18:28:40 +0000 (0:00:00.069) 0:01:49.824 ********* 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 18:28:40 +0000 (0:00:00.041) 0:01:49.865 ********* 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 18:28:40 +0000 (0:00:00.037) 0:01:49.903 ********* 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 18:28:40 +0000 (0:00:00.037) 0:01:49.941 ********* 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 18:28:40 +0000 (0:00:00.042) 0:01:49.983 ********* 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 18:28:40 +0000 (0:00:00.069) 0:01:50.053 ********* 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 18:28:40 +0000 (0:00:00.038) 0:01:50.091 ********* 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 18:28:40 +0000 (0:00:00.037) 0:01:50.129 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:28:40 +0000 (0:00:00.408) 0:01:50.537 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:28:41 +0000 (0:00:00.381) 0:01:50.918 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:28:41 +0000 (0:00:00.054) 0:01:50.973 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:28:41 +0000 (0:00:00.039) 0:01:51.013 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:28:41 +0000 (0:00:00.042) 0:01:51.056 ********* 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 18:28:41 +0000 (0:00:00.041) 0:01:51.097 ********* 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 18:28:41 +0000 (0:00:00.038) 0:01:51.135 ********* 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 18:28:41 +0000 (0:00:00.037) 0:01:51.173 ********* 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 18:28:41 +0000 (0:00:00.042) 0:01:51.215 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:28:41 +0000 (0:00:00.040) 0:01:51.255 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:28:41 +0000 (0:00:00.043) 0:01:51.299 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:28:41 +0000 (0:00:00.061) 0:01:51.360 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.036078", "end": "2022-07-21 14:28:41.528645", "rc": 0, "start": "2022-07-21 14:28:41.492567" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:28:42 +0000 (0:00:00.436) 0:01:51.796 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:28:42 +0000 (0:00:00.054) 0:01:51.851 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:28:42 +0000 (0:00:00.051) 0:01:51.903 ********* 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 18:28:42 +0000 (0:00:00.039) 0:01:51.942 ********* 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 18:28:42 +0000 (0:00:00.038) 0:01:51.981 ********* 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 18:28:42 +0000 (0:00:00.049) 0:01:52.030 ********* 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 18:28:42 +0000 (0:00:00.039) 0:01:52.070 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:28:42 +0000 (0:00:00.036) 0:01:52.107 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:28:42 +0000 (0:00:00.022) 0:01:52.130 ********* 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_change_fs.yml:76 Thursday 21 July 2022 18:28:42 +0000 (0:00:00.039) 0:01:52.169 ********* 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 18:28:42 +0000 (0:00:00.060) 0:01:52.230 ********* 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 18:28:42 +0000 (0:00:00.037) 0:01:52.267 ********* 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 18:28:43 +0000 (0:00:00.566) 0:01:52.833 ********* 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 18:28:43 +0000 (0:00:00.065) 0:01:52.899 ********* 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 18:28:43 +0000 (0:00:00.037) 0:01:52.937 ********* 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 18:28:43 +0000 (0:00:00.038) 0:01:52.975 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 18:28:43 +0000 (0:00:00.056) 0:01:53.031 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 18:28:43 +0000 (0:00:00.023) 0:01:53.055 ********* 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 18:28:43 +0000 (0:00:00.028) 0:01:53.084 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "xfs", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } 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 18:28:43 +0000 (0:00:00.054) 0:01:53.138 ********* 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 18:28:43 +0000 (0:00:00.039) 0:01:53.177 ********* 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 18:28:43 +0000 (0:00:00.033) 0:01:53.211 ********* 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 18:28:43 +0000 (0:00:00.026) 0:01:53.238 ********* 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 18:28:43 +0000 (0:00:00.027) 0:01:53.265 ********* 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 18:28:43 +0000 (0:00:00.030) 0:01:53.296 ********* 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 18:28:43 +0000 (0:00:00.056) 0:01:53.352 ********* 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 18:28:43 +0000 (0:00:00.021) 0:01:53.373 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:28:45 +0000 (0:00:01.339) 0:01:54.713 ********* 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 18:28:45 +0000 (0:00:00.038) 0:01:54.752 ********* 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 18:28:45 +0000 (0:00:00.023) 0:01:54.775 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:28:45 +0000 (0:00:00.041) 0:01:54.816 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:28:45 +0000 (0:00:00.044) 0:01:54.860 ********* 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 18:28:45 +0000 (0:00:00.038) 0:01:54.899 ********* 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 18:28:45 +0000 (0:00:00.051) 0:01:54.950 ********* 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 18:28:45 +0000 (0:00:00.632) 0:01:55.582 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 18:28:46 +0000 (0:00:00.443) 0:01:56.026 ********* 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 18:28:47 +0000 (0:00:00.657) 0:01:56.684 ********* 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 18:28:47 +0000 (0:00:00.416) 0:01:57.100 ********* 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 18:28:47 +0000 (0:00:00.025) 0:01:57.126 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs.yml:89 Thursday 21 July 2022 18:28:48 +0000 (0:00:01.042) 0:01:58.169 ********* 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 18:28:48 +0000 (0:00:00.048) 0:01:58.218 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:28:48 +0000 (0:00:00.055) 0:01:58.273 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:28:48 +0000 (0:00:00.037) 0:01:58.310 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "iJUe8L-Ua4w-TxoY-vUg4-2iG0-b6N6-XMHuVM" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-18-26-37-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 18:28:49 +0000 (0:00:00.412) 0:01:58.723 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002904", "end": "2022-07-21 14:28:48.835910", "rc": 0, "start": "2022-07-21 14:28:48.833006" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 18:28:49 +0000 (0:00:00.378) 0:01:59.102 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002681", "end": "2022-07-21 14:28:49.205001", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:28:49.202320" } 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 18:28:49 +0000 (0:00:00.366) 0:01:59.468 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 18:28:49 +0000 (0:00:00.062) 0:01:59.530 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 18:28:49 +0000 (0:00:00.035) 0:01:59.565 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 18:28:49 +0000 (0:00:00.048) 0:01:59.613 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.094) 0:01:59.707 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.407) 0:02:00.115 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.082) 0:02:00.197 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.087) 0:02:00.285 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.118) 0:02:00.404 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.037) 0:02:00.442 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.052) 0:02:00.495 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.025) 0:02:00.520 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.043) 0:02:00.564 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.041) 0:02:00.606 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.025) 0:02:00.631 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 18:28:50 +0000 (0:00:00.023) 0:02:00.655 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.024) 0:02:00.679 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.024) 0:02:00.703 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.026) 0:02:00.730 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.024) 0:02:00.755 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.023) 0:02:00.778 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.033) 0:02:00.812 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.043) 0:02:00.855 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.042) 0:02:00.897 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.031) 0:02:00.929 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.029) 0:02:00.958 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.037) 0:02:00.996 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.072) 0:02:01.069 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.046) 0:02:01.115 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.023) 0:02:01.139 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.023) 0:02:01.162 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.021) 0:02:01.184 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.021) 0:02:01.205 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.046) 0:02:01.252 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.054) 0:02:01.307 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.031) 0:02:01.339 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.049) 0:02:01.388 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.052) 0:02:01.441 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.052) 0:02:01.493 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.041) 0:02:01.535 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.037) 0:02:01.573 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 18:28:51 +0000 (0:00:00.038) 0:02:01.611 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.134) 0:02:01.746 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.034) 0:02:01.780 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.048) 0:02:01.829 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.048) 0:02:01.877 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.025) 0:02:01.903 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.025) 0:02:01.929 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.026) 0:02:01.956 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.025) 0:02:01.982 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.025) 0:02:02.007 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.025) 0:02:02.033 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.026) 0:02:02.060 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.034) 0:02:02.095 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.036) 0:02:02.131 ********* 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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.045) 0:02:02.176 ********* 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 18:28:52 +0000 (0:00:00.050) 0:02:02.227 ********* 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 18:28:52 +0000 (0:00:00.082) 0:02:02.309 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:28:52 +0000 (0:00:00.043) 0:02:02.352 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1290774, "block_size": 4096, "block_total": 1308160, "block_used": 17386, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2621437, "inode_total": 2621440, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 5287010304, "size_total": 5358223360, "uuid": "545d76bb-7c26-48a7-9b0e-9e019be1fd17" } ], "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 18:28:52 +0000 (0:00:00.057) 0:02:02.410 ********* 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 18:28:52 +0000 (0:00:00.050) 0:02:02.461 ********* 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 18:28:52 +0000 (0:00:00.050) 0:02:02.512 ********* 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 18:28:52 +0000 (0:00:00.052) 0:02:02.565 ********* 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 18:28:52 +0000 (0:00:00.025) 0:02:02.591 ********* 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 18:28:52 +0000 (0:00:00.025) 0:02:02.616 ********* 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 18:28:52 +0000 (0:00:00.024) 0:02:02.640 ********* 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 18:28:53 +0000 (0:00:00.038) 0:02:02.679 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 18:28:53 +0000 (0:00:00.063) 0:02:02.742 ********* 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 18:28:53 +0000 (0:00:00.052) 0:02:02.794 ********* 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 18:28:53 +0000 (0:00:00.050) 0:02:02.845 ********* 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 18:28:53 +0000 (0:00:00.034) 0:02:02.880 ********* 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 18:28:53 +0000 (0:00:00.032) 0:02:02.913 ********* 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 18:28:53 +0000 (0:00:00.038) 0:02:02.951 ********* 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 18:28:53 +0000 (0:00:00.043) 0:02:02.995 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658428076.2975302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658428076.2975302, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 75207, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658428076.2975302, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 18:28:53 +0000 (0:00:00.367) 0:02:03.362 ********* 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 18:28:53 +0000 (0:00:00.040) 0:02:03.403 ********* 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 18:28:53 +0000 (0:00:00.041) 0:02:03.445 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:28:53 +0000 (0:00:00.039) 0:02:03.484 ********* 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 18:28:53 +0000 (0:00:00.025) 0:02:03.510 ********* 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 18:28:53 +0000 (0:00:00.040) 0:02:03.551 ********* 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 18:28:53 +0000 (0:00:00.026) 0:02:03.577 ********* 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 18:28:55 +0000 (0:00:01.412) 0:02:04.990 ********* 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 18:28:55 +0000 (0:00:00.026) 0:02:05.017 ********* 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 18:28:55 +0000 (0:00:00.027) 0:02:05.044 ********* 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 18:28:55 +0000 (0:00:00.052) 0:02:05.096 ********* 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 18:28:55 +0000 (0:00:00.026) 0:02:05.122 ********* 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 18:28:55 +0000 (0:00:00.023) 0:02:05.145 ********* 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 18:28:55 +0000 (0:00:00.024) 0:02:05.170 ********* 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 18:28:55 +0000 (0:00:00.022) 0:02:05.192 ********* 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 18:28:55 +0000 (0:00:00.023) 0:02:05.215 ********* 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 18:28:55 +0000 (0:00:00.054) 0:02:05.270 ********* 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 18:28:55 +0000 (0:00:00.060) 0:02:05.330 ********* 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 18:28:55 +0000 (0:00:00.047) 0:02:05.377 ********* 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 18:28:55 +0000 (0:00:00.039) 0:02:05.416 ********* 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 18:28:55 +0000 (0:00:00.042) 0:02:05.459 ********* 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 18:28:55 +0000 (0:00:00.038) 0:02:05.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 18:28:55 +0000 (0:00:00.042) 0:02:05.540 ********* 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 18:28:55 +0000 (0:00:00.039) 0:02:05.579 ********* 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 18:28:55 +0000 (0:00:00.039) 0:02:05.619 ********* 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 18:28:55 +0000 (0:00:00.039) 0:02:05.658 ********* 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 18:28:56 +0000 (0:00:00.037) 0:02:05.696 ********* 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 18:28:56 +0000 (0:00:00.037) 0:02:05.734 ********* 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 18:28:56 +0000 (0:00:00.040) 0:02:05.774 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 18:28:56 +0000 (0:00:00.373) 0:02:06.147 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 18:28:56 +0000 (0:00:00.445) 0:02:06.593 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 18:28:57 +0000 (0:00:00.105) 0:02:06.698 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:28:57 +0000 (0:00:00.036) 0:02:06.735 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:28:57 +0000 (0:00:00.038) 0:02:06.774 ********* 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 18:28:57 +0000 (0:00:00.037) 0:02:06.812 ********* 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 18:28:57 +0000 (0:00:00.039) 0:02:06.851 ********* 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 18:28:57 +0000 (0:00:00.040) 0:02:06.891 ********* 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 18:28:57 +0000 (0:00:00.040) 0:02:06.931 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 18:28:57 +0000 (0:00:00.042) 0:02:06.973 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:28:57 +0000 (0:00:00.035) 0:02:07.009 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 18:28:57 +0000 (0:00:00.057) 0:02:07.067 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.032594", "end": "2022-07-21 14:28:57.211361", "rc": 0, "start": "2022-07-21 14:28:57.178767" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 18:28:57 +0000 (0:00:00.408) 0:02:07.476 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 18:28:57 +0000 (0:00:00.053) 0:02:07.529 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 18:28:57 +0000 (0:00:00.054) 0:02:07.584 ********* 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 18:28:57 +0000 (0:00:00.042) 0:02:07.626 ********* 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 18:28:57 +0000 (0:00:00.042) 0:02:07.669 ********* 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 18:28:58 +0000 (0:00:00.042) 0:02:07.712 ********* 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 18:28:58 +0000 (0:00:00.039) 0:02:07.751 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:28:58 +0000 (0:00:00.039) 0:02:07.791 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:28:58 +0000 (0:00:00.022) 0:02:07.813 ********* 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_change_fs.yml:91 Thursday 21 July 2022 18:28:58 +0000 (0:00:00.035) 0:02:07.849 ********* 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 18:28:58 +0000 (0:00:00.070) 0:02:07.919 ********* 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 18:28:58 +0000 (0:00:00.038) 0:02:07.958 ********* 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 18:28:58 +0000 (0:00:00.515) 0:02:08.474 ********* 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 18:28:58 +0000 (0:00:00.063) 0:02:08.538 ********* 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 18:28:58 +0000 (0:00:00.041) 0:02:08.579 ********* 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 18:28:58 +0000 (0:00:00.093) 0:02:08.673 ********* 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 18:28:59 +0000 (0:00:00.105) 0:02:08.778 ********* 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 18:28:59 +0000 (0:00:00.022) 0:02:08.801 ********* 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 18:28:59 +0000 (0:00:00.029) 0:02:08.831 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "fs_type": "xfs", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } 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 18:28:59 +0000 (0:00:00.053) 0:02:08.885 ********* 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 18:28:59 +0000 (0:00:00.039) 0:02:08.924 ********* 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 18:28:59 +0000 (0:00:00.030) 0:02:08.954 ********* 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 18:28:59 +0000 (0:00:00.030) 0:02:08.985 ********* 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 18:28:59 +0000 (0:00:00.028) 0:02:09.013 ********* 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 18:28:59 +0000 (0:00:00.028) 0:02:09.042 ********* 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 18:28:59 +0000 (0:00:00.060) 0:02:09.103 ********* 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 18:28:59 +0000 (0:00:00.024) 0:02:09.128 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 18:29:01 +0000 (0:00:01.836) 0:02:10.965 ********* 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 18:29:01 +0000 (0:00:00.038) 0:02:11.004 ********* 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 18:29:01 +0000 (0:00:00.023) 0:02:11.028 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 18:29:01 +0000 (0:00:00.044) 0:02:11.072 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 18:29:01 +0000 (0:00:00.040) 0:02:11.112 ********* 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 18:29:01 +0000 (0:00:00.039) 0:02:11.152 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 18:29:01 +0000 (0:00:00.416) 0:02:11.569 ********* 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 18:29:02 +0000 (0:00:00.617) 0:02:12.186 ********* 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 18:29:02 +0000 (0:00:00.038) 0:02:12.225 ********* 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 18:29:03 +0000 (0:00:00.600) 0:02:12.826 ********* 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 18:29:03 +0000 (0:00:00.400) 0:02:13.226 ********* 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 18:29:03 +0000 (0:00:00.025) 0:02:13.251 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs.yml:105 Thursday 21 July 2022 18:29:04 +0000 (0:00:01.058) 0:02:14.309 ********* 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 18:29:04 +0000 (0:00:00.052) 0:02:14.362 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 18:29:04 +0000 (0:00:00.054) 0:02:14.417 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 18:29:04 +0000 (0:00:00.038) 0:02:14.455 ********* 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-18-26-37-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 18:29:05 +0000 (0:00:00.379) 0:02:14.835 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002470", "end": "2022-07-21 14:29:04.928322", "rc": 0, "start": "2022-07-21 14:29:04.925852" } 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 18:29:05 +0000 (0:00:00.357) 0:02:15.192 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004278", "end": "2022-07-21 14:29:06.307398", "failed_when_result": false, "rc": 1, "start": "2022-07-21 14:29:05.303120" } 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 18:29:06 +0000 (0:00:01.387) 0:02:16.580 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 18:29:06 +0000 (0:00:00.065) 0:02:16.646 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.039) 0:02:16.685 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.047) 0:02:16.733 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.052) 0:02:16.786 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.021) 0:02:16.808 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.052) 0:02:16.860 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.051) 0:02:16.912 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.082) 0:02:16.994 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.073) 0:02:17.067 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.083) 0:02:17.151 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.024) 0:02:17.176 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.022) 0:02:17.199 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.073) 0:02:17.272 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.024) 0:02:17.296 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.025) 0:02:17.321 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.024) 0:02:17.345 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.024) 0:02:17.370 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.024) 0:02:17.394 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.025) 0:02:17.420 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.025) 0:02:17.445 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.035) 0:02:17.481 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.044) 0:02:17.526 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.042) 0:02:17.569 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.033) 0:02:17.602 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.033) 0:02:17.636 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 18:29:07 +0000 (0:00:00.031) 0:02:17.667 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.043) 0:02:17.710 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.041) 0:02:17.752 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.021) 0:02:17.773 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.022) 0:02:17.795 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.022) 0:02:17.818 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.021) 0:02:17.839 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.043) 0:02:17.882 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.049) 0:02:17.932 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.023) 0:02:17.955 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.022) 0:02:17.978 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.037) 0:02:18.015 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.049) 0:02:18.064 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.046) 0:02:18.111 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.025) 0:02:18.136 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.025) 0:02:18.162 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.024) 0:02:18.187 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.025) 0:02:18.212 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.024) 0:02:18.237 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.024) 0:02:18.262 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.024) 0:02:18.286 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.119) 0:02:18.406 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.035) 0:02:18.441 ********* 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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.042) 0:02:18.484 ********* 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 18:29:08 +0000 (0:00:00.051) 0:02:18.536 ********* 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 18:29:08 +0000 (0:00:00.081) 0:02:18.618 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 18:29:08 +0000 (0:00:00.052) 0:02:18.670 ********* 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 18:29:09 +0000 (0:00:00.059) 0:02:18.730 ********* 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 18:29:09 +0000 (0:00:00.027) 0:02:18.757 ********* 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 18:29:09 +0000 (0:00:00.049) 0:02:18.806 ********* 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 18:29:09 +0000 (0:00:00.037) 0:02:18.844 ********* 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 18:29:09 +0000 (0:00:00.025) 0:02:18.869 ********* 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 18:29:09 +0000 (0:00:00.025) 0:02:18.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 18:29:09 +0000 (0:00:00.025) 0:02:18.920 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 18:29:09 +0000 (0:00:00.035) 0:02:18.956 ********* 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 18:29:09 +0000 (0:00:00.062) 0:02:19.018 ********* 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 18:29:09 +0000 (0:00:00.024) 0:02:19.042 ********* 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 18:29:09 +0000 (0:00:00.049) 0:02:19.092 ********* 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 18:29:09 +0000 (0:00:00.036) 0:02:19.128 ********* 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 18:29:09 +0000 (0:00:00.036) 0:02:19.165 ********* 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 18:29:09 +0000 (0:00:00.026) 0:02:19.191 ********* 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 18:29:09 +0000 (0:00:00.023) 0:02:19.214 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": 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 18:29:09 +0000 (0:00:00.377) 0:02:19.592 ********* 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 18:29:09 +0000 (0:00:00.039) 0:02:19.631 ********* 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 18:29:09 +0000 (0:00:00.024) 0:02:19.656 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 18:29:10 +0000 (0:00:00.036) 0:02:19.693 ********* 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 18:29:10 +0000 (0:00:00.024) 0:02:19.717 ********* 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 18:29:10 +0000 (0:00:00.023) 0:02:19.740 ********* 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 18:29:10 +0000 (0:00:00.024) 0:02:19.765 ********* 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 18:29:11 +0000 (0:00:01.252) 0:02:21.017 ********* 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 18:29:11 +0000 (0:00:00.024) 0:02:21.042 ********* 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 18:29:11 +0000 (0:00:00.029) 0:02:21.072 ********* 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 18:29:11 +0000 (0:00:00.027) 0:02:21.099 ********* 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 18:29:11 +0000 (0:00:00.070) 0:02:21.169 ********* 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 18:29:11 +0000 (0:00:00.025) 0:02:21.195 ********* 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 18:29:11 +0000 (0:00:00.024) 0:02:21.219 ********* 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 18:29:11 +0000 (0:00:00.025) 0:02:21.244 ********* 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 18:29:11 +0000 (0:00:00.025) 0:02:21.270 ********* 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 18:29:11 +0000 (0:00:00.057) 0:02:21.327 ********* 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 18:29:11 +0000 (0:00:00.060) 0:02:21.388 ********* 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 18:29:11 +0000 (0:00:00.043) 0:02:21.432 ********* 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 18:29:11 +0000 (0:00:00.037) 0:02:21.469 ********* 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 18:29:11 +0000 (0:00:00.047) 0:02:21.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 18:29:11 +0000 (0:00:00.048) 0:02:21.564 ********* 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 18:29:11 +0000 (0:00:00.055) 0:02:21.620 ********* 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 18:29:11 +0000 (0:00:00.038) 0:02:21.658 ********* 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 18:29:12 +0000 (0:00:00.043) 0:02:21.702 ********* 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 18:29:12 +0000 (0:00:00.038) 0:02:21.741 ********* 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 18:29:12 +0000 (0:00:00.039) 0:02:21.780 ********* 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 18:29:12 +0000 (0:00:00.038) 0:02:21.819 ********* 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 18:29:12 +0000 (0:00:00.038) 0:02:21.857 ********* 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 18:29:12 +0000 (0:00:00.025) 0:02:21.882 ********* 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 18:29:12 +0000 (0:00:00.041) 0:02:21.924 ********* 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 18:29:12 +0000 (0:00:00.035) 0:02:21.959 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 18:29:12 +0000 (0:00:00.036) 0:02:21.996 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 18:29:12 +0000 (0:00:00.037) 0:02:22.034 ********* 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 18:29:12 +0000 (0:00:00.040) 0:02:22.074 ********* 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 18:29:12 +0000 (0:00:00.038) 0:02:22.112 ********* 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 18:29:12 +0000 (0:00:00.037) 0:02:22.150 ********* 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 18:29:12 +0000 (0:00:00.034) 0:02:22.184 ********* 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 18:29:12 +0000 (0:00:00.039) 0:02:22.224 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 18:29:12 +0000 (0:00:00.036) 0:02:22.261 ********* 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 18:29:12 +0000 (0:00:00.025) 0:02:22.286 ********* 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 18:29:12 +0000 (0:00:00.024) 0:02:22.311 ********* 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 18:29:12 +0000 (0:00:00.025) 0:02:22.336 ********* 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 18:29:12 +0000 (0:00:00.024) 0:02:22.360 ********* 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 18:29:12 +0000 (0:00:00.023) 0:02:22.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 18:29:12 +0000 (0:00:00.025) 0:02:22.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 18:29:12 +0000 (0:00:00.026) 0:02:22.436 ********* 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 18:29:12 +0000 (0:00:00.024) 0:02:22.460 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 18:29:12 +0000 (0:00:00.036) 0:02:22.497 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 18:29:12 +0000 (0:00:00.022) 0:02:22.520 ********* 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=489 changed=7 unreachable=0 failed=0 skipped=383 rescued=0 ignored=0 Thursday 21 July 2022 18:29:12 +0000 (0:00:00.051) 0:02:22.571 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ------ 50.74s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 1.85s /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.84s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 1.78s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Gathering Facts --------------------------------------------------------- 1.74s /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs.yml:2 -------------------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.65s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 1.41s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- set up internal repositories -------------------------------------------- 1.40s /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/crypttab file --------------------------------------------- 1.37s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 --------------------- 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 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.36s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 1.35s /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.34s /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 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 1.26s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 1.25s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- Gathering Facts --------------------------------------------------------- 1.20s /tmp/tmpcv9gbk7i/tests/storage/tests_change_fs_scsi_generated.yml:3 ----------- fedora.linux_system_roles.storage : Ensure ansible_facts used by role --- 1.17s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 fedora.linux_system_roles.storage : Update facts ------------------------ 1.06s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183